Notes |
|
(0075639)
|
hgbot
|
2015-03-16 17:07
|
|
Repository: erp/devel/pi
Changeset: b625c136e3dec64b8656315f9ce22124ccd21a8d
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Mar 16 16:42:25 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/b625c136e3dec64b8656315f9ce22124ccd21a8d [^]
Related with issue 28727: 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
---
|
|
|
(0075641)
|
hgbot
|
2015-03-16 17:07
|
|
Repository: erp/devel/pi
Changeset: a882ebfc5ae62239e25474f67de797735bf960db
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Mar 16 16:57:41 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/a882ebfc5ae62239e25474f67de797735bf960db [^]
Fixes issue 28727: 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
---
|
|
|
(0075647)
|
hgbot
|
2015-03-16 18:03
|
|
Repository: erp/devel/pi
Changeset: efa53163ee0c77c84baaf2a3360f42d662dfa329
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Mar 16 18:01:47 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/efa53163ee0c77c84baaf2a3360f42d662dfa329 [^]
Fixes issue 28727: Use proper attribute names in the valueMap of the combo
The ListGrid.setValueMap function expected a valueMap that is an array, where each position contains an object with two properties: id and _identifier (OB.Constants.ID and OB.Constants.IDENTIFIER constants). The identifier property was not being properly named, so the valueMap did not contain the proper values.
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
---
|
|
|
(0075653)
|
hgbot
|
2015-03-16 18:44
|
|
Repository: erp/devel/pi
Changeset: 8e0a9e1ef5c35acc8ae8efff6b43dfb424392947
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Mar 16 18:35:40 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/8e0a9e1ef5c35acc8ae8efff6b43dfb424392947 [^]
Fixes issue 28727: Set properly the value of fk combo items in P&E windows
The problem was that when the value was being set to fk combo items before its valueMap was defined. To fix this, the value of the combo is reset just after defining its combo.
---
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 |
|
|
|
|
|
|
|
|
|
|
|
|
|