Openbravo Issue Tracking System - Openbravo ERP | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0020114 | Openbravo ERP | 02. Master data management | public | 2012-03-26 15:46 | 2012-04-02 06:13 |
| Reporter | vmromanos | ||||
| Assigned To | naiaramartinez | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | OS | 20 | OS Version | Debian 5.0 | |
| Product Version | |||||
| Target Version | Fixed in Version | 3.0MP10 | |||
| Merge Request Status | |||||
| Review Assigned To | |||||
| OBNetwork customer | No | ||||
| Web browser | |||||
| Modules | Core | ||||
| Support ticket | |||||
| Regression level | |||||
| Regression date | |||||
| Regression introduced in release | |||||
| Regression introduced by commit | |||||
| Triggers an Emergency Pack | No | ||||
| Summary | 0020114: Bill of materials display logic | ||||
| Description | Product window, Bill of materials display logic is: @IsSummary@='N' & @ProductType@='I' | @ProductType@='S' When you enter Product window, the following error is written into the log: >>>>>>> Issues found in javascript <<<<<<<<< Core.View:186:301: The '&&' subexpression should be wrapped in parens. >> offending code: name: 'billOfMaterials', title: 'Bill of Materials', sessionProperty: true, hasDefaultValue: true,columnName: 'IsBOM', inpColumnName: 'inpisbom', redrawOnChange: true, showIf: function(item, value, form, currentValues, context) { return (OB.Utilities.getValue(currentValues,'summaryLevel') === false && OB.Utilities.getValue(currentValues,'productType') === 'I' || OB.Utilities.getValue(currentValues,'productType') === 'S'); }, "width":1,"overflow":"visible", >>>>>>> Issues (6029ms) <<<<<<<<< It looks like the display logic should be changed to: (@IsSummary@='N' & @ProductType@='I') | @ProductType@='S' | ||||
| Steps To Reproduce | Go to Product Window Create a new record Check and uncheck Bill of materials checkbox Read the server log | ||||
| Proposed Solution | It looks like the display logic should be changed to: (@IsSummary@='N' & @ProductType@='I') | @ProductType@='S' | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2012-03-26 15:46 | vmromanos | New Issue | |||
| 2012-03-26 15:46 | vmromanos | Assigned To | => alostale | ||
| 2012-03-26 15:46 | vmromanos | Modules | => Core | ||
| 2012-03-26 15:46 | vmromanos | OBNetwork customer | => No | ||
| 2012-03-26 15:46 | vmromanos | Assigned To | alostale => vmromanos | ||
| 2012-03-29 10:51 | naiaramartinez | Assigned To | vmromanos => naiaramartinez | ||
| 2012-03-29 10:52 | naiaramartinez | Status | new => scheduled | ||
| 2012-03-29 10:52 | naiaramartinez | fix_in_branch | => pi | ||
| 2012-03-29 11:25 | naiaramartinez | Note Added: 0046868 | |||
| 2012-03-30 14:00 | hgbot | Checkin | |||
| 2012-03-30 14:00 | hgbot | Note Added: 0046984 | |||
| 2012-03-30 14:00 | hgbot | Status | scheduled => resolved | ||
| 2012-03-30 14:00 | hgbot | Resolution | open => fixed | ||
| 2012-03-30 14:00 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/6aee986e08a4b5f58f06543689532e8d377fec05 [^] | ||
| 2012-03-30 14:01 | vmromanos | Note Added: 0046985 | |||
| 2012-03-30 14:01 | vmromanos | Status | resolved => closed | ||
| 2012-03-30 14:01 | vmromanos | Fixed in Version | => 3.0MP10 | ||
| 2012-04-02 06:13 | hudsonbot | Checkin | |||
| 2012-04-02 06:13 | hudsonbot | Note Added: 0047287 | |||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||