Notes |
|
(0075644)
|
hgbot
|
2015-03-16 17:27
|
|
Repository: erp/backports/3.0PR14Q3.8
Changeset: 81ebfd3ac9f82440d940e20bcee38b219150c0e5
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Mar 16 17:22:59 2015 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR14Q3.8/rev/81ebfd3ac9f82440d940e20bcee38b219150c0e5 [^]
Related with issue 29294: Checks if the okButton exists to prevent error in log
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js
---
|
|
|
(0075645)
|
hgbot
|
2015-03-16 17:27
|
|
Repository: erp/backports/3.0PR14Q3.8
Changeset: fdf55ad85d6340c97add108fa45e0d010189a4b0
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Mar 16 16:57:41 2015 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR14Q3.8/rev/fdf55ad85d6340c97add108fa45e0d010189a4b0 [^]
Fixes issue 29294: valueMap is properly initialized in pick and execute windows
The problem was that when a line in a pick and execute grid was edited, the valueMap of its OBFKComboItems was not properly initialized. The initialization is done in the OBPickAndExecuteGrid.processColumnValue function.
Before the Openbravo combos was refactored, the columnValue parameter used to contain the full valueMap of the combo in its entries attribute. This atribute was passed to the OBPickAndExecuteGrid.setValueMap, and the valueMap of the combos was initialized. The problem was that since the combos was refactored the columnValue parameter no longer contained the entries attribute, because the FIC now only returns the selected value. To fix this, in this case the valueMap is built manually based on the column value and identifier. This valueMap is passed to the OBPickAndExecuteGrid.setValueMap function to initialize the field valueMap.
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
---
|
|
|
(0075655)
|
hgbot
|
2015-03-16 18:52
|
|
Repository: erp/backports/3.0PR14Q3.8
Changeset: 125099e2c4369992f506a4bad3c31608b876ec88
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Mar 16 18:49:22 2015 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR14Q3.8/rev/125099e2c4369992f506a4bad3c31608b876ec88 [^]
Fixes bug 29294: valueMap and value of combo item is properly set in P&E window
There were two things missing in the previous fix:
- The attribute names of the valueMap were not proper
- The value of the combo item should be set after defining its valueMap, otherwise the value is lost
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
---
|
|
|
|
code reviewed
tested:
-When editing the record in the P&E value in payment method field is kept
-This value can be edited and it is correctly processed |
|