Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||||||||||||||||
View Issue Details | ||||||||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||||||||||||||||
0034055 | Openbravo ERP | 04. Warehouse management | public | 2016-09-22 13:06 | 2016-12-16 18:37 | |||||||||||||||||||||
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.0PR17Q1 | ||||||||||||||||||||||||
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 | 0034055: Wrong cost adjustment is made when stock reaches 0 but stock valuation is not 0 due to rounding issues | |||||||||||||||||||||||||
Description | Wrong cost adjustment is made when stock reaches 0 but stock valuation is not 0 due to rounding issues. Should the stock valuation be 0 once the stock is 0 although there is not any new entry in the warehouse? | |||||||||||||||||||||||||
Steps To Reproduce | As system admin role: Set Cost Precision of the currency to 6 As group admin role: Set the following two preferences as Y: Allow to persist Unit Cost Enable Negative Stock Corrections Create a new product Create a physical inventory and add the previously created product: Quantity count: 19 Cost: 26.24069 Create two Goods Shipments: one of 10 units and one of 9 units Launch the Costing Background Process Check the Stock is 0.00 and Stock Valuation is 0.00 in Product - Unit Cost tab Launch the Reset Unit Cost process and check Stock Valuation is updated to -0.01, which is wrong. Create a new physical inventory: Quantity count: 19 Cost: null Launch the Costing Background Process Check the Stock is 19 and the Stock Valuation is 498.55378 Launch the Reset Unit Cost process and check the Stock is updated to 38, which is wrong. | |||||||||||||||||||||||||
Proposed Solution | ||||||||||||||||||||||||||
Additional Information | ||||||||||||||||||||||||||
Tags | No tags attached. | |||||||||||||||||||||||||
Relationships |
| |||||||||||||||||||||||||
Attached Files | ||||||||||||||||||||||||||
Issue History | ||||||||||||||||||||||||||
Date Modified | Username | Field | Change | |||||||||||||||||||||||
2016-09-22 13:06 | ngarcia | New Issue | ||||||||||||||||||||||||
2016-09-22 13:06 | ngarcia | Assigned To | => Triage Finance | |||||||||||||||||||||||
2016-09-22 13:06 | ngarcia | Modules | => Core | |||||||||||||||||||||||
2016-09-22 13:06 | ngarcia | Resolution time | => 1476309600 | |||||||||||||||||||||||
2016-09-22 13:06 | ngarcia | Triggers an Emergency Pack | => No | |||||||||||||||||||||||
2016-09-22 13:06 | ngarcia | Issue Monitored: networkb | ||||||||||||||||||||||||
2016-09-22 13:11 | ngarcia | Relationship added | related to 0034056 | |||||||||||||||||||||||
2016-09-22 13:11 | ngarcia | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=13156#r13156 | |||||||||||||||||||||||
2016-09-22 13:12 | ngarcia | Note Added: 0090166 | ||||||||||||||||||||||||
2016-09-22 13:20 | ngarcia | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=13157#r13157 | |||||||||||||||||||||||
2016-09-23 10:32 | ngarcia | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=13169#r13169 | |||||||||||||||||||||||
2016-09-28 12:38 | aferraz | Assigned To | Triage Finance => markmm82 | |||||||||||||||||||||||
2016-09-29 17:20 | markmm82 | Status | new => scheduled | |||||||||||||||||||||||
2016-10-10 18:41 | aferraz | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=13347#r13347 | |||||||||||||||||||||||
2016-10-10 18:49 | aferraz | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=13348#r13348 | |||||||||||||||||||||||
2016-10-10 18:53 | aferraz | Relationship replaced | has duplicate 0034056 | |||||||||||||||||||||||
2016-10-10 18:54 | aferraz | Relationship added | depends on 0034068 | |||||||||||||||||||||||
2016-10-10 18:55 | aferraz | Relationship added | related to 0034099 | |||||||||||||||||||||||
2016-10-11 15:02 | aferraz | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=13353#r13353 | |||||||||||||||||||||||
2016-10-11 15:12 | aferraz | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=13354#r13354 | |||||||||||||||||||||||
2016-10-11 18:21 | markmm82 | Note Added: 0090538 | ||||||||||||||||||||||||
2016-10-17 16:56 | aferraz | Note Edited: 0090538 | bug_revision_view_page.php?bugnote_id=0090538#r13389 | |||||||||||||||||||||||
2016-10-17 17:03 | hgbot | Checkin | ||||||||||||||||||||||||
2016-10-17 17:03 | hgbot | Note Added: 0090643 | ||||||||||||||||||||||||
2016-10-17 17:03 | hgbot | Status | scheduled => resolved | |||||||||||||||||||||||
2016-10-17 17:03 | hgbot | Resolution | open => fixed | |||||||||||||||||||||||
2016-10-17 17:03 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/9a17396e89b4a64f565bb9822a8e9bdd88384255 [^] | |||||||||||||||||||||||
2016-10-17 17:03 | hgbot | Checkin | ||||||||||||||||||||||||
2016-10-17 17:03 | hgbot | Note Added: 0090644 | ||||||||||||||||||||||||
2016-10-17 18:09 | hgbot | Checkin | ||||||||||||||||||||||||
2016-10-17 18:09 | hgbot | Note Added: 0090646 | ||||||||||||||||||||||||
2016-10-17 18:22 | aferraz | Note Edited: 0090538 | bug_revision_view_page.php?bugnote_id=0090538#r13390 | |||||||||||||||||||||||
2016-10-17 18:24 | aferraz | Review Assigned To | => aferraz | |||||||||||||||||||||||
2016-10-17 18:24 | aferraz | Note Added: 0090648 | ||||||||||||||||||||||||
2016-10-17 18:24 | aferraz | Status | resolved => closed | |||||||||||||||||||||||
2016-10-17 18:24 | aferraz | Fixed in Version | => 3.0PR17Q1 | |||||||||||||||||||||||
2016-12-16 18:37 | hudsonbot | Checkin | ||||||||||||||||||||||||
2016-12-16 18:37 | hudsonbot | Note Added: 0092525 | ||||||||||||||||||||||||
2016-12-16 18:37 | hudsonbot | Checkin | ||||||||||||||||||||||||
2016-12-16 18:37 | hudsonbot | Note Added: 0092526 | ||||||||||||||||||||||||
2016-12-16 18:37 | hudsonbot | Checkin | ||||||||||||||||||||||||
2016-12-16 18:37 | hudsonbot | Note Added: 0092527 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|