Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021530Openbravo ERPA. Platformpublic2012-09-03 11:282013-02-11 13:30
mtaal 
shankarb 
normalmajorhave not tried
closedunable to reproduce 
5
 
 
Core
No
0021530: Grid editing: columns with displaylogic do not work correctly
2 problems:
- for a field/column with displaylogic the wrong formatting is used
- the value of such a field is not saved when saving-with-the-enter key

See steps to reproduce and screenshots.

Note: a solution can be to remove/clear the displaylogic for grid fields. This because displaylogic does not make sense there currently. We need a full displaylogic solution for grid editing to really solve this. In the meantime we can ignore the displaylogic maybe by clearing it. This clearing can be done in the ob-main-view.js in the prepareGridFields function.
See this example:
0) go to sales order window
1) create a new sales order header
2) do new in grid
3) select a product
4) add the net list price column to the grid
5) tab through the columns
6) notice that the list price has the wrong format (uses the dot as the decimal separator while the comma should be used), see the screenshot
7) when the focus is in the list price, change its value
8) press enter
9) the line is saved and a new line is opened
10) but the list price does not get saved.
No tags attached.
related to defect 00213523.0MP15 closed mtaal Enter key duplicates the line number in sales order line 
related to defect 0021533 closed AugustoMauch ShowIf computation incorrect for showIf values which are a boolean 
png Screenshot from 2012-09-03 11:24:09.png (13,438) 2012-09-03 11:40
https://issues.openbravo.com/file_download.php?file_id=5546&type=bug
png

png Screenshot from 2012-09-03 11:23:41.png (8,577) 2012-09-03 11:40
https://issues.openbravo.com/file_download.php?file_id=5547&type=bug
png

png Screenshot from 2012-09-03 11:23:28.png (67,417) 2012-09-03 11:41
https://issues.openbravo.com/file_download.php?file_id=5548&type=bug
png

diff 21530.diff (835) 2012-09-03 11:41
https://issues.openbravo.com/file_download.php?file_id=5549&type=bug
Issue History
2012-09-03 11:28mtaalNew Issue
2012-09-03 11:28mtaalAssigned To => marvintm
2012-09-03 11:28mtaalModules => Core
2012-09-03 11:40mtaalFile Added: Screenshot from 2012-09-03 11:24:09.png
2012-09-03 11:40mtaalFile Added: Screenshot from 2012-09-03 11:23:41.png
2012-09-03 11:41mtaalFile Added: Screenshot from 2012-09-03 11:23:28.png
2012-09-03 11:41mtaalFile Added: 21530.diff
2012-09-03 13:10mtaalRelationship addedrelated to 0021352
2012-09-03 13:10mtaalRelationship addedrelated to 0021533
2012-09-19 11:57marvintmAssigned Tomarvintm => AugustoMauch
2012-09-28 14:14AugustoMauchTarget Version3.0MP16 => 3.0MP17
2012-10-11 15:50AugustoMauchAssigned ToAugustoMauch => shankarb
2012-10-15 11:18AugustoMauchTarget Version3.0MP17 => 3.0MP18
2012-11-09 14:08shankarbNote Added: 0054124
2012-11-19 08:17alostaleTarget Version3.0MP18 =>
2013-02-11 13:30AugustoMauchStatusnew => closed
2013-02-11 13:30AugustoMauchResolutionopen => unable to reproduce

Notes
(0054124)
shankarb   
2012-11-09 14:08   
Hi Martin,
I think the issue is not reproducible in the current pi. Can you review it again now ?

Thanks,
Shankar