Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0029430 | Openbravo ERP | 04. Warehouse management | public | 2015-03-26 12:26 | 2015-03-31 00:07 |
|
Reporter | umartirena | |
Assigned To | umartirena | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0PR15Q2 | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | aferraz |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
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.
|
Proposed Solution | |
Additional Information | |
Tags | Approved |
Relationships | depends on | backport | 0029432 | 3.0PR15Q1.2 | closed | umartirena | [Cost Adjustment] Net Unit Price in Costing tab is not being properly calculated in certain cases |
|
Attached Files | |
|
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 | |
Notes |
|
(0076125)
|
hgbot
|
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
|
2015-03-30 11:31
|
|
|
|
|
|
|
|
|
|
|
|