Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0003970Openbravo ERPB. User interfacepublic2008-06-13 18:232008-06-24 17:31
galderromo 
cromero 
normalmajoralways
closedfixed 
5
 
2.35MP6 
Core
No
0003970: Numbering format does not work
It does work on manual windows but not on generated windows.

It is not possible to choose "," as decimal and "." as grouping characters.

The generated windows, do not contain a "format" attribute on the FIELD tags. So numbering format does not work on this cases.
GPS-Top20
blocks defect 00027622.40 closed cromero Numbering format does not work 
Issue History
2008-06-13 18:23cromeroNew Issue
2008-06-13 18:23cromeroAssigned To => cromero
2008-06-13 18:23cromeroStatusnew => scheduled
2008-06-16 21:59cromeroStatusscheduled => resolved
2008-06-16 21:59cromerosvn_revision => 4103
2008-06-16 21:59cromeroResolutionopen => fixed
2008-06-16 21:59cromeroNote Added: 0007750
2008-06-23 23:26cromeroFixed in Version => 2.35MP6
2008-06-24 17:31plujanStatusresolved => closed
2008-10-01 15:02pjuvaraTag Attached: GPS-Top20

Notes
(0007750)
cromero   
2008-06-16 21:59   
Actually it is possible to show and store numbers using ',' as numeric separator.

You must configure in these files:
* Format.xml
   <Number name="qtyEdition"
       decimal="," grouping="." formatOutput="#,##0.###" formatInternal="#0,000" />
* Openbravo.properties (Oracle)
bbdd.sessionConfig=ALTER SESSION SET NLS_DATE_FORMAT='DD-MM-YYYY' NLS_NUMERIC_CHARACTERS=',.'

I have created a feature request "0003996: Allow comma ',' as decimal separator for numbers" to allow openbravo javascript objects to validate correctly this numeric separator.