Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019433Openbravo ERP03. Procurement managementpublic2012-01-09 13:332012-02-01 08:58
xabiermerino 
jonalegriaesarte 
urgentmajoralways
closedfixed 
5
3.0MP6.1 
3.0MP8 
Core
No
0019433: Net Unit Price wrong calculated with discount
In a purchase order, if you have a line with a one product with
Net List Price = 52.29
Discount = 50 (discount: 26,145)

the line net amount is rounded correctly (26,15) but the Net Unit Price not (26,14).

In 2.50 works properly.
As admin create a purchase order with this line:
Net List Price = 52.29
Discount = 50

realize that the line net amount is rounded correctly (26,15) but the Net Unit Price not (26,14).
No tags attached.
Issue History
2012-01-09 13:33xabiermerinoNew Issue
2012-01-09 13:33xabiermerinoAssigned To => jonalegriaesarte
2012-01-09 13:33xabiermerinoModules => Core
2012-01-09 13:33xabiermerinoResolution time => 1328742000
2012-01-09 13:33xabiermerinoIssue Monitored: networkb
2012-01-23 10:26jonalegriaesarteAssigned Tojonalegriaesarte => dalsasua
2012-01-26 11:37jonalegriaesarteAssigned Todalsasua => jonalegriaesarte
2012-01-30 11:52hgbotCheckin
2012-01-30 11:52hgbotNote Added: 0044690
2012-01-30 11:52hgbotStatusnew => resolved
2012-01-30 11:52hgbotResolutionopen => fixed
2012-01-30 11:52hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/fc4fc420b6392e27b49bafdeedc642a2a71cd53b [^]
2012-01-30 18:15xabiermerinoNote Added: 0044717
2012-01-30 18:15xabiermerinoStatusresolved => closed
2012-02-01 08:58hudsonbotCheckin
2012-02-01 08:58hudsonbotNote Added: 0044749

Notes
(0044690)
hgbot   
2012-01-30 11:52   
Repository: erp/devel/pi
Changeset: fc4fc420b6392e27b49bafdeedc642a2a71cd53b
Author: Jon Alegría <jon.alegria <at> openbravo.com>
Date: Mon Jan 30 11:51:35 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/fc4fc420b6392e27b49bafdeedc642a2a71cd53b [^]

Fixes issue 0019433: Net Unit Price wrong calculated with discount

---
M src/org/openbravo/erpCommon/ad_callouts/SL_Order_Amt.java
---
(0044717)
xabiermerino   
2012-01-30 18:15   
verified
(0044749)
hudsonbot   
2012-02-01 08:58   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/933a9b7b9d89 [^]

Maturity status: Test