Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
| View Issue Details | |||||||||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
| 0006546 | Openbravo ERP | 03. Procurement management | public | 2008-12-15 10:38 | 2009-01-13 19:35 | ||||||||||||||
| Reporter | rafaroda | ||||||||||||||||||
| Assigned To | rafaroda | ||||||||||||||||||
| Priority | high | Severity | major | Reproducibility | always | ||||||||||||||
| Status | closed | Resolution | out of date | ||||||||||||||||
| Platform | OS | 20 | OS Version | Ubuntu 7.10 | |||||||||||||||
| Product Version | 2.35MP9 | ||||||||||||||||||
| Target Version | Fixed in Version | ||||||||||||||||||
| Merge Request Status | |||||||||||||||||||
| Review Assigned To | |||||||||||||||||||
| OBNetwork customer | No | ||||||||||||||||||
| Web browser | |||||||||||||||||||
| Modules | Core | ||||||||||||||||||
| Support ticket | |||||||||||||||||||
| Regression level | |||||||||||||||||||
| Regression date | |||||||||||||||||||
| Regression introduced in release | |||||||||||||||||||
| Regression introduced by commit | |||||||||||||||||||
| Triggers an Emergency Pack | No | ||||||||||||||||||
| Summary | 0006546: Format.xml not correctly taken | ||||||||||||||||||
| Description | In 2.3x, Format.xml is not correctly taken for Unit Price. This causes miss-calculations in the discount (see attached image). This issue does not reproduce in 2.40 nor in trunk. | ||||||||||||||||||
| Steps To Reproduce | 1) Edit the following line inside config/Format.xml file: <Number name="priceEdition" decimal="." grouping="," formatOutput="#0.0000" formatInternal="#0.0000" /> 2) Compile this change: ant compile.development -Dtab="order" -Dtr="no" 3) Create a new purchase order in 'Procurement Management || Transactions || Purchase Order' 4) Go to Lines tab and add a new line. 5) Set 'Unit Price' and 'List Price' equals to '0.0008'. Discount is calculated as -25, as if 'Unit Price' = 0.001 and 'List Price' = 0.0008 In the database the price data are correct, both 0.0008, but discount is saved incorrectly (-25.00): select pricelist, priceactual, discount from c_orderline order by updated desc; | ||||||||||||||||||
| Proposed Solution | |||||||||||||||||||
| Additional Information | |||||||||||||||||||
| Tags | No tags attached. | ||||||||||||||||||
| Relationships |
| ||||||||||||||||||
| Attached Files | |||||||||||||||||||
| Issue History | |||||||||||||||||||
| Date Modified | Username | Field | Change | ||||||||||||||||
| 2008-12-15 10:38 | rafaroda | New Issue | |||||||||||||||||
| 2008-12-15 10:38 | rafaroda | Assigned To | => shuehner | ||||||||||||||||
| 2008-12-15 10:38 | rafaroda | Status | new => scheduled | ||||||||||||||||
| 2008-12-15 17:24 | shuehner | Relationship added | related to 0006558 | ||||||||||||||||
| 2008-12-15 17:26 | shuehner | Note Added: 0011379 | |||||||||||||||||
| 2008-12-15 17:26 | shuehner | Assigned To | shuehner => rafaroda | ||||||||||||||||
| 2009-01-13 19:35 | AinhoaPagola | Regression testing | => No | ||||||||||||||||
| 2009-01-13 19:35 | AinhoaPagola | Status | scheduled => closed | ||||||||||||||||
| 2009-01-13 19:35 | AinhoaPagola | Note Added: 0012159 | |||||||||||||||||
| 2009-01-13 19:35 | AinhoaPagola | Resolution | open => out of date | ||||||||||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||