Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0005839
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] B. User interfacemajoralways2008-11-05 23:372008-12-16 17:32
ReportergalderromoView Statuspublic 
Assigned Toalostale 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision9877
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabaseOracleJava version1.5.0_15
OS VersionGentoo 2.6.24Database versionXEAnt version1.7
Product Version2.40betaSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0005839: Number decimals, edit mode and grid mode

DescriptionHaving 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0005910 closedalostale Number decimals, edit mode and grid mode 
has duplicate backport 0004962 closedalostale Number formats in relation. 
has duplicate defect 0004024pi closedalostale Number formats in relation. 

-  Notes
(0010115)
psarobe (manager)
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 (manager)
2008-11-10 09:51

Hi networkb,

Please answer the question we aks from the triage team

Thanks
(0010143)
galderromo (reporter)
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 (reporter)
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 (reporter)
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 [^]

- 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 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
Powered by Mantis Bugtracker