(0038173)
|
hgbot
|
2011-06-08 17:03
|
|
Repository: erp/devel/pi
Changeset: eb5d4d933b758379c55f014ad9e23783da99ee0b
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Jun 08 17:01:45 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/eb5d4d933b758379c55f014ad9e23783da99ee0b [^]
Fixes issue 17555: Selecting a BP in the grid causes the address field to be marked as erroneous
Related to issue 17550: Required/mandatory is not checked for selector items and not checked when saving in grid editing
Various changes to handle empty values in selector and combo box items
When a user clears a value using the keyboard then until now not FIC call was executed, this has been repaired
The clearing of the value is handled through the changed event
The clearing of the value of a selector/combo also needs to clear the identifier value, otherwise in grid editing the old identifier value is shown
When clearing a value old display values in the valuemap where lost, resulting in the db id to be shown, this has also been solved
ob-formitem-fk: make sure that the identifier value in the grid editing is also displayed
ob-formitem-list-filter: prevent validation in the filter editor
ob-formitem-list: do validation when exiting or changing a field, not necessary to do that in blur then, also execute change
ob-selector-item.js: when clearing the value call the setValueFromRecord with null, also set the grid edit values to prevent old identifier from showing
ob-view-form: undo now also restores the valuemap, before when undoing the database id was shown for combos, also validate field items which have changed during a fic call, clear errors in the grid if validation solves an error
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-fk.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-list-filter.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-list.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
---
|
|