Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022569Openbravo ERPA. Platformpublic2012-12-13 14:142012-12-24 12:28
mtaal 
mtaal 
normalmajorhave not tried
closedfixed 
5
 
3.0MP193.0MP19 
AugustoMauch
Core
No
0022569: Format of numeric filter value is changed when filtering - numeric keyboard dot does not result in the comma in the filter field
When I enter a filter value of 11,64 the system changes it to 11.64. Also when entering a dot through the numeric keyboard I get a dot instead of the expected comma.

This can be reproduced by setting the correct number format.
To reproduce:
- in format.xml set the grouping symbol to a dot and the decimal to a comma
- restart
- go to the sales order window
- enter a filter value with a decimal: 11,64
- tab out or press enter, the number is changed to 11.64
No tags attached.
Issue History
2012-12-13 14:14mtaalNew Issue
2012-12-13 14:14mtaalAssigned To => mtaal
2012-12-13 14:14mtaalModules => Core
2012-12-13 14:14mtaalTriggers an Emergency Pack => No
2012-12-13 14:39mtaalSummaryFiltering numeric value gives error with grouping/decimal as comma/dot => Format of numeric filter value is changed when filtering - numeric keyboard dot does not result in the comma in the filter field
2012-12-13 14:39mtaalDescription Updatedbug_revision_view_page.php?rev_id=4183#r4183
2012-12-13 14:39mtaalSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=4185#r4185
2012-12-13 19:28mtaalReview Assigned To => dbaz
2012-12-14 14:09hgbotCheckin
2012-12-14 14:09hgbotNote Added: 0054949
2012-12-14 14:09hgbotStatusnew => resolved
2012-12-14 14:09hgbotResolutionopen => fixed
2012-12-14 14:09hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/8b0cc256e2f6778bfcf5c933588596a44ed19adc [^]
2012-12-17 13:34hudsonbotCheckin
2012-12-17 13:34hudsonbotNote Added: 0055012
2012-12-24 11:58AugustoMauchReview Assigned Todbaz => AugustoMauch
2012-12-24 12:28AugustoMauchNote Added: 0055171
2012-12-24 12:28AugustoMauchStatusresolved => closed
2012-12-24 12:28AugustoMauchFixed in Version => 3.0MP19

Notes
(0054949)
hgbot   
2012-12-14 14:09   
Repository: erp/devel/pi
Changeset: 8b0cc256e2f6778bfcf5c933588596a44ed19adc
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri Dec 14 14:09:19 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/8b0cc256e2f6778bfcf5c933588596a44ed19adc [^]

Fixes issue 22569: Format of numeric filter value is changed when filtering - numeric keyboard dot does not result in the comma in the filter field
Call the keydownaction on the formitem also for filter numeric fields, make sure that formatting works also if the number is passed internally as a string.

---
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/grid/ob-grid.js
---
(0055012)
hudsonbot   
2012-12-17 13:34   
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/c79ef1b1f830 [^]

Maturity status: Test
(0055171)
AugustoMauch   
2012-12-24 12:28   
Code reviewed and verified in pi@9c66708f78ef