Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018513Openbravo ERPA. Platformpublic2011-09-13 08:502011-10-12 01:58
mtaal 
mtaal 
normalmajorhave not tried
closedfixed 
5
 
3.0MP43.0MP4 
Core
No
0018513: Expressions in numeric fields do not work anymore
In numeric fields it was possible to use expressions like for example: =4+4.

This feature does not work anymore, you get an error when saving if a numeric field has an expression value.
Open sales order/sales order line
In the order quantity field add =4+4
Then without leaving the field click save or do the save short cut

An error is shown.

Note that it works fine if you first tab out of the field and then save.
No tags attached.
related to defect 00200713.0MP9 closed AugustoMauch Change in the date field is not saved when editing it using keyboard and then navigating from it directly to the child tab 
Issue History
2011-09-13 08:50mtaalNew Issue
2011-09-13 08:50mtaalAssigned To => mtaal
2011-09-13 08:50mtaalModules => Core
2011-09-13 10:47hgbotCheckin
2011-09-13 10:47hgbotNote Added: 0040925
2011-09-13 10:47hgbotStatusnew => resolved
2011-09-13 10:47hgbotResolutionopen => fixed
2011-09-13 10:47hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/45f5ddc6e57820180a4d795ccd7e41d292477a2a [^]
2011-09-30 16:22dbazStatusresolved => closed
2011-09-30 16:22dbazFixed in Version => 3.0MP4
2011-10-12 01:58hudsonbotCheckin
2011-10-12 01:58hudsonbotNote Added: 0041660
2012-04-02 15:28AugustoMauchRelationship addedrelated to 0020071

Notes
(0040925)
hgbot   
2011-09-13 10:47   
Repository: erp/devel/pi
Changeset: 45f5ddc6e57820180a4d795ccd7e41d292477a2a
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Sep 13 10:46:40 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/45f5ddc6e57820180a4d795ccd7e41d292477a2a [^]

Fixes issue 18513: Expressions in numeric fields do not work anymore
Moved conversion to validator, replace global validors for float and integer

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-number.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
---
(0041660)
hudsonbot   
2011-10-12 01:58   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/9bd2b5c2d982 [^]

Maturity status: Test