Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0002762Openbravo ERPB. User interfacepublic2008-03-26 15:552008-09-04 09:13
galderromo 
cromero 
normalmajoralways
closedfixed 
5
 
2.402.40 
Core
No
0002762: 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.
No tags attached.
depends on backport 0003681 closed alostale Numbering format does not work 
depends on backport 0003970 closed cromero Numbering format does not work 
Issue History
2008-06-13 18:22cromeroSeverityminor => major
2008-06-13 18:22cromeroDescription Updated
2008-06-13 18:23cromeroStatusnew => scheduled
2008-06-13 19:59cromeroTarget Version => 2.40
2008-06-16 22:00cromeroStatusscheduled => resolved
2008-06-16 22:00cromeroFixed in Version2.40alpha r2 => trunk
2008-06-16 22:00cromerosvn_revision => 3473
2008-06-16 22:00cromeroNote Added: 0007751
2008-08-20 19:39psarobeNote Added: 0008644
2008-09-04 09:13psarobeRegression testing => No
2008-09-04 09:13psarobeStatusresolved => closed
2008-09-04 09:13psarobeFixed in Versiontrunk => 2.40

Notes
(0006351)
user71   
2005-06-01 00:00   
(edited on: 2008-06-12 09:43)
This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1926229 [^]
(0003372)
user71   
2008-06-02 10:25   
(edited on: 2008-06-12 09:25)
Logged In: YES
user_id=1795375
Originator: NO

Within the changes made in WADIntegerXML.xml and WADNumberXML.html is possible to show numbers like this: 25,35 but it is not possible
to save the record.

The bug is not fixed.
(0007751)
cromero   
2008-06-16 22:00   
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.
(0008644)
psarobe   
2008-08-20 19:39   
Right now you can only see the format but working with them will give you a lot of problems. Please see the project for 2.50

http://wiki.openbravo.com/wiki/Projects/Allow_comma_separator [^]

In grid view does not take into account the format either.

Can you be more explicit about what you really want?