Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0036794 | Openbravo ERP | 07. Sales management | public | 2017-09-04 11:49 | 2017-09-05 18:16 | |||||||
Reporter | ngarcia | |||||||||||
Assigned To | markmm82 | |||||||||||
Priority | urgent | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | 3.0PR17Q2.3 | Fixed in Version | 3.0PR17Q2.3 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | aferraz | |||||||||||
OBNetwork customer | OBPS | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | 48145 | |||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0036794: Amounts in Invoice lines and taxes are rounded to price precision instead of standard precision in Create Lines From process | |||||||||||
Description | Amounts in Invoice lines and taxes are rounded to price precision instead of standard precision in Create Lines From process In CreateFrom class, the price precision is used for rounding amounts instead of standard precision | |||||||||||
Steps To Reproduce | Change the Format.xml to accept 3 decimals in prices As System Admin role: Set Price Precision of EUR currency to 3 Create a new sales price list, do not set it as Price Includes Tax Add 4 products to it with the following prices: 101.15 176.715 8.33 35.105 Create a Sales Order Set the previously created price list Add the previously created 5 products (one unit of each, 2 units of the one with 101.15 price) Complete it Set its Invoice Terms as Immediate Create a Sales Invoice header Set the previously created price list Click on Create Lines From Add the 4 lines of the sales order with a price different from 0 Check the total net amount (422.45) does not match with the sum of the Line Net Amount values in invoice lines (202.30 + 176.72 + 8.33 + 35.11 = 422.46) Check through database that the linenetamt is not rounded to standard precision but to priceprecision | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2017-09-05 16:41 | aferraz | Type | defect => backport | |||||||||
2017-09-05 16:41 | aferraz | Target Version | => 3.0PR17Q2.3 | |||||||||
2017-09-05 18:15 | hgbot | Checkin | ||||||||||
2017-09-05 18:15 | hgbot | Note Added: 0098846 | ||||||||||
2017-09-05 18:15 | hgbot | Status | scheduled => resolved | |||||||||
2017-09-05 18:15 | hgbot | Resolution | open => fixed | |||||||||
2017-09-05 18:15 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/ef2a84e698c4c76bef4f8ef984d4055c64b6d862 [^] => http://code.openbravo.com/erp/backports/3.0PR17Q2.3/rev/6b3122e0ae4fbb7f9e11f038db9b821cc85199f2 [^] | |||||||||
2017-09-05 18:15 | hgbot | Checkin | ||||||||||
2017-09-05 18:15 | hgbot | Note Added: 0098847 | ||||||||||
2017-09-05 18:16 | aferraz | Review Assigned To | => aferraz | |||||||||
2017-09-05 18:16 | aferraz | Note Added: 0098849 | ||||||||||
2017-09-05 18:16 | aferraz | Status | resolved => closed | |||||||||
2017-09-05 18:16 | aferraz | Fixed in Version | => 3.0PR17Q2.3 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|