Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0005839 | Openbravo ERP | B. User interface | public | 2008-11-05 23:37 | 2008-12-16 17:32 |
|
Reporter | galderromo | |
Assigned To | alostale | |
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 20 | OS Version | Gentoo 2.6.24 |
Product Version | 2.40beta | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0005839: Number decimals, edit mode and grid mode |
Description | Having the currency configurated to:
Price precision:4
Cost precision:4
Standard precision:2
When inserting a 4 decimal value on line price, it saves 4 decimals but just shows 3 decimals. This record on grid mode shows 4 decimals. |
Steps To Reproduce | |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | backport | 0005910 | | closed | alostale | Number decimals, edit mode and grid mode | has duplicate | backport | 0004962 | | closed | alostale | Number formats in relation. | has duplicate | defect | 0004024 | pi | closed | alostale | Number formats in relation. |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2008-11-05 23:37 | galderromo | New Issue | |
2008-11-05 23:37 | galderromo | Assigned To | => rafaroda |
2008-11-05 23:37 | galderromo | sf_bug_id | 0 => 2226911 |
2008-11-09 20:53 | psarobe | Note Added: 0010115 | |
2008-11-09 20:53 | psarobe | Status | new => feedback |
2008-11-10 09:44 | networkb | OBNetwork customer | => Yes |
2008-11-10 09:44 | networkb | Priority | normal => immediate |
2008-11-10 09:44 | networkb | Issue Monitored: networkb | |
2008-11-10 09:51 | psarobe | Note Added: 0010132 | |
2008-11-10 12:26 | galderromo | Note Added: 0010143 | |
2008-11-10 12:45 | galderromo | Note Added: 0010145 | |
2008-11-11 10:25 | rafaroda | Status | feedback => scheduled |
2008-11-11 10:25 | rafaroda | Assigned To | rafaroda => alostale |
2008-11-11 10:25 | rafaroda | fix_in_branch | => trunk |
2008-11-11 13:28 | svnbot | Checkin | |
2008-11-11 13:28 | svnbot | Note Added: 0010166 | |
2008-11-11 13:28 | svnbot | Status | scheduled => resolved |
2008-11-11 13:28 | svnbot | Resolution | open => fixed |
2008-11-11 13:28 | svnbot | svn_revision | => 9877 |
2008-11-20 10:51 | rafaroda | Relationship added | has duplicate 0004962 |
2008-11-20 10:52 | rafaroda | Relationship added | has duplicate 0004024 |
2008-12-16 17:32 | psarobe | Regression testing | => No |
2008-12-16 17:32 | psarobe | Status | resolved => closed |
Notes |
|
|
Hi Galder,
Is it your format.xml file properly configured?
Please write the steps of how to define the precision in OpenbravoERP in order the QA team will able to verify the bug is well fixed |
|
|
|
Hi networkb,
Please answer the question we aks from the triage team
Thanks |
|
|
|
Sorry, I reviewed again the Format.xml and wasn't properly defined. Half of the problem has been fixed with the new configuration but the other half hasn't.
If you define the Format.xml like:
<Number name="qtyEdition" decimal="." grouping="," formatOutput="#0.####" formatInternal="#0.0000" />
<Number name="qtyRelation" decimal="." grouping="," formatOutput="#,##0.####" formatInternal="#0.0000" />
And:
Introduce 0.15 in edition mode, 0.1500 is registered and showed. OK
Introduce 0.1514 in edition mode, 0.1514 is registered and showed. OK
Introduce 0.151487 in edition mode, 0.1515 is registered and showed. OK
But:
Introduce 0.15 in edition mode, 0.15 is showed in relation mode. WRONG
Introduce 0.1514 in edition mode, 0.1514 is showed in relation mode. WRONG
Introduce 0.15 in edition mode, 0.15 is showed in relation mode. WRONG
Relation mode ignores formatOutput. |
|
|
|
Probably with this example is much more clear:
<Number name="qtyRelation" decimal="." grouping="," formatOutput="0,000.0000" formatInternal="#0.0000" />
<Number name="qtyEdition" decimal="." grouping="," formatOutput="#0.0000" formatInternal="#0.0000" />
Relation mode:
Introduce 0.15 in edition mode, 0.15 is showed in relation mode instead of 0,000.1500 WRONG |
|
|
(0010166)
|
svnbot
|
2008-11-11 13:28
|
|
Repository: openbravo
Revision: 9877
Author: alostale
Date: 2008-11-11 13:28:24 +0100 (Tue, 11 Nov 2008)
fixed bug 0005839: Number decimals in grid mode do not take into account formats defined in format.xml file
---
U trunk/src/org/openbravo/base/secureApp/HttpSecureAppServlet.java
U trunk/src/org/openbravo/erpCommon/utility/DataGrid.java
---
https://dev.openbravo.com/websvn/openbravo/?rev=9877&sc=1 [^]
|
|