Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0005839 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] B. User interface | major | always | 2008-11-05 23:37 | 2008-12-16 17:32 | |||
Reporter | galderromo | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | pi | Fixed in SCM revision | 9877 | |||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 32 bit | Database | Oracle | Java version | 1.5.0_15 | |||
OS Version | Gentoo 2.6.24 | Database version | XE | Ant version | 1.7 | |||
Product Version | 2.40beta | SCM revision | ||||||
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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||||||||||||||||
|
![]() |
|
(0010115) psarobe (viewer) 2008-11-09 20:53 |
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 |
(0010132) psarobe (viewer) 2008-11-10 09:51 |
Hi networkb, Please answer the question we aks from the triage team Thanks |
(0010143) galderromo (viewer) 2008-11-10 12:26 |
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. |
(0010145) galderromo (viewer) 2008-11-10 12:45 |
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 (viewer) 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 [^] |
![]() |
|||
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 |
Copyright © 2000 - 2009 MantisBT Group |