Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0029430 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 04. Warehouse management | major | always | 2015-03-26 12:26 | 2015-03-31 00:07 | |||
Reporter | umartirena | View Status | public | |||||
Assigned To | umartirena | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | b87f60cb229d | ||||
Projection | none | ETA | none | Target Version | 3.0PR15Q2 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | aferraz | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0029430: [Cost Adjustment] Net Unit Price in Costing tab is not being properly calculated in certain cases | |||||||
Description | Net Unit Price in Costing tab is not being properly calculated in certain cases. There is a case in which this value is being set equals to cost, and this is wrong. | |||||||
Steps To Reproduce | Run testCostingAAA() test. As QA Testing Admin. Go to Product window and select the product just created. Go to Costing tab. Realize that in the second Costing record the Net Unit Price is 68.00, when it should be 80.00 (150 * 70 + 1500) / 150. | |||||||
Tags | Approved | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0076125) hgbot (developer) 2015-03-30 11:31 |
Repository: erp/devel/pi Changeset: b87f60cb229d9c65589c755a6b44e98b34bb8a07 Author: Unai Martirena <unai.martirena <at> openbravo.com> Date: Mon Mar 30 11:14:37 2015 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/b87f60cb229d9c65589c755a6b44e98b34bb8a07 [^] Fixes bug 29430: Net Unit Price in Costing is properly calculated Using Cost Adjustments the Net Unit Price of a product on a transaction could be affected with those. Starting from now the Net Unit Price assigned in Costing tab is going to take into account the Cost Adjustments of type Unit Cost. So the calculation would be: ((originalPrice * qty) + adjustmentsAmount) / qty. --- M src/org/openbravo/costing/AverageCostAdjustment.java --- |
(0076126) hgbot (developer) 2015-03-30 11:31 |
Repository: erp/devel/pi Changeset: 8f36b14dbc05ea1a7972cb69b880d26612ac0e06 Author: Unai Martirena <unai.martirena <at> openbravo.com> Date: Mon Mar 30 11:15:30 2015 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/8f36b14dbc05ea1a7972cb69b880d26612ac0e06 [^] Related to bug 29430: Adapt de test to the new behavior --- M src-test/src/org/openbravo/test/costing/TestCosting.java --- |
(0076127) aferraz (manager) 2015-03-30 11:31 |
Code review + Testing OK |
(0076163) hudsonbot (developer) 2015-03-31 00:07 |
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/34da08f135b8 [^] Maturity status: Test |
(0076164) hudsonbot (developer) 2015-03-31 00:07 |
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/34da08f135b8 [^] Maturity status: Test |
Issue History | |||
Date Modified | Username | Field | Change |
2015-03-26 12:26 | umartirena | New Issue | |
2015-03-26 12:26 | umartirena | Assigned To | => Sandrahuguet |
2015-03-26 12:26 | umartirena | Modules | => Core |
2015-03-26 12:26 | umartirena | Triggers an Emergency Pack | => No |
2015-03-26 12:27 | umartirena | Status | new => scheduled |
2015-03-26 12:27 | umartirena | Assigned To | Sandrahuguet => umartirena |
2015-03-26 13:33 | dmitry_mezentsev | Tag Attached: Approved | |
2015-03-27 14:42 | umartirena | Target Version | => 3.0PR15Q2 |
2015-03-30 11:31 | hgbot | Checkin | |
2015-03-30 11:31 | hgbot | Note Added: 0076125 | |
2015-03-30 11:31 | hgbot | Status | scheduled => resolved |
2015-03-30 11:31 | hgbot | Resolution | open => fixed |
2015-03-30 11:31 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/b87f60cb229d9c65589c755a6b44e98b34bb8a07 [^] |
2015-03-30 11:31 | hgbot | Checkin | |
2015-03-30 11:31 | hgbot | Note Added: 0076126 | |
2015-03-30 11:31 | aferraz | Review Assigned To | => aferraz |
2015-03-30 11:31 | aferraz | Note Added: 0076127 | |
2015-03-30 11:31 | aferraz | Status | resolved => closed |
2015-03-31 00:07 | hudsonbot | Checkin | |
2015-03-31 00:07 | hudsonbot | Note Added: 0076163 | |
2015-03-31 00:07 | hudsonbot | Checkin | |
2015-03-31 00:07 | hudsonbot | Note Added: 0076164 |
Copyright © 2000 - 2009 MantisBT Group |