Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0036659 | Openbravo ERP | 04. Warehouse management | public | 2017-08-17 13:17 | 2017-09-21 16:49 | ||||||||||||||
Reporter | ngarcia | ||||||||||||||||||
Assigned To | markmm82 | ||||||||||||||||||
Priority | urgent | Severity | major | Reproducibility | always | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | |||||||||||||||||||
Target Version | Fixed in Version | 3.0PR17Q4 | |||||||||||||||||
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 | 0036659: [Costing Migration Process]: Closing inventories are not leaving stock valuation to 0 | ||||||||||||||||||
Description | [Costing Migration Process]: Closing inventories are not leaving stock valuation to 0 In calculateCosts function of CostingMigrationProcess class, in order to adjust the cost of the last transaction, the movementqty is wrongly compared with the stock (movementqty will be negative when stock is positive): if (trx.getMovementQuantity().compareTo(totalStock) == 0) { // Last transaction adjusts remaining cost amount. trxCost = totalCost; } | ||||||||||||||||||
Steps To Reproduce | * | ||||||||||||||||||
Proposed Solution | Change in CostingMigrationProcess.java: if (trx.getMovementQuantity().compareTo(totalStock) == 0) { // Last transaction adjusts remaining cost amount. trxCost = totalCost; } with: if (trx.getMovementQuantity().negate().compareTo(totalStock) == 0) { // Last transaction adjusts remaining cost amount. trxCost = totalCost; } | ||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2017-08-17 13:17 | ngarcia | New Issue | |||||||||||||||||
2017-08-17 13:17 | ngarcia | Assigned To | => Triage Finance | ||||||||||||||||
2017-08-17 13:17 | ngarcia | Modules | => Core | ||||||||||||||||
2017-08-17 13:17 | ngarcia | Resolution time | => 1504735200 | ||||||||||||||||
2017-08-17 13:17 | ngarcia | Triggers an Emergency Pack | => No | ||||||||||||||||
2017-08-17 13:17 | ngarcia | Issue Monitored: networkb | |||||||||||||||||
2017-08-17 13:20 | ngarcia | Relationship added | related to 0036642 | ||||||||||||||||
2017-08-17 13:27 | aferraz | Assigned To | Triage Finance => markmm82 | ||||||||||||||||
2017-08-17 13:28 | aferraz | Proposed Solution updated | |||||||||||||||||
2017-08-17 13:34 | aferraz | Proposed Solution updated | |||||||||||||||||
2017-08-17 16:10 | markmm82 | Status | new => scheduled | ||||||||||||||||
2017-08-18 08:37 | hgbot | Checkin | |||||||||||||||||
2017-08-18 08:37 | hgbot | Note Added: 0098535 | |||||||||||||||||
2017-08-18 08:37 | hgbot | Status | scheduled => resolved | ||||||||||||||||
2017-08-18 08:37 | hgbot | Resolution | open => fixed | ||||||||||||||||
2017-08-18 08:37 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/eedde20727c8bf0ef1c4228dfc7fc29a1bbd89b3 [^] | ||||||||||||||||
2017-08-18 08:48 | aferraz | Review Assigned To | => aferraz | ||||||||||||||||
2017-08-18 08:48 | aferraz | Note Added: 0098536 | |||||||||||||||||
2017-08-18 08:48 | aferraz | Status | resolved => closed | ||||||||||||||||
2017-08-18 08:48 | aferraz | Fixed in Version | => 3.0PR17Q4 | ||||||||||||||||
2017-08-21 11:40 | ngarcia | Relationship added | related to 0036675 | ||||||||||||||||
2017-09-21 16:49 | hudsonbot | Checkin | |||||||||||||||||
2017-09-21 16:49 | hudsonbot | Note Added: 0099312 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|