Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0006560 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] Z. Others | major | have not tried | 2008-12-15 17:24 | 2009-01-27 16:39 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | AinhoaPagola | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | 2.3x | Fixed in SCM revision | 11856 | |||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0006560: SL_Order_Amt callout does not round all price fields but only some | |||||||
Description | This trigger does round the two fields: priceActual and priceLimit according to the selected PricePrevision (setup in the currency). It does not round the fileds priceList and priceStd. This leads to strange/wrong behavior when a price is entered which will be rounded to a different value. The number of decimal places for the prices has to be chosen according to the configured PricePrecision in the currency setup. For the EUR currency the price precision is 4 in r2.40 and 3 in r2.3x so a value with at least 5 digits after the comma has to be chosen to get a price which is rounded to a different value in both openbravo versions. | |||||||
Steps To Reproduce | Create a Purchase Order Create a new line Select i.e. the beer product Enter: 0.00008 as unit price Enter: 0.00008 as List Price See that the discount is calculated as 25% which is not correct | |||||||
Proposed Solution | Review the SL_Order_Amt trigger according to rounding. | |||||||
Tags | comsup_sprint4 | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0012157) svnbot (reporter) 2009-01-13 19:33 |
Repository: openbravo Revision: 11856 Author: AinhoaPagola Date: 2009-01-13 19:33:18 +0100 (Tue, 13 Jan 2009) Fixes bug 0006560 SL_Order_Amt callout rounds prices to the same precision --- U branches/r2.3x/src/org/openbravo/erpCommon/ad_callouts/SL_Order_Amt.java --- https://dev.openbravo.com/websvn/openbravo/?rev=11856&sc=1 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2008-12-15 17:24 | shuehner | New Issue | |
2008-12-15 17:24 | shuehner | Assigned To | => rafaroda |
2008-12-15 17:24 | shuehner | Status | new => scheduled |
2009-01-09 20:10 | rafaroda | Assigned To | rafaroda => AinhoaPagola |
2009-01-13 19:33 | svnbot | Checkin | |
2009-01-13 19:33 | svnbot | Note Added: 0012157 | |
2009-01-13 19:33 | svnbot | Status | scheduled => resolved |
2009-01-13 19:33 | svnbot | Resolution | open => fixed |
2009-01-13 19:33 | svnbot | svn_revision | => 11856 |
2009-01-23 11:39 | AinhoaPagola | Tag Attached: comsup_sprint4 | |
2009-01-27 16:39 | psarobe | Regression testing | => No |
2009-01-27 16:39 | psarobe | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |