Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0041321 | Openbravo ERP | 07. Sales management | public | 2019-07-08 12:02 | 2019-07-11 20:19 | |||||||
Reporter | inaki_garcia | |||||||||||
Assigned To | collazoandy4 | |||||||||||
Priority | immediate | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | pi | |||||||||||
Target Version | 3.0PR19Q3 | Fixed in Version | 3.0PR19Q3 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | Sandrahuguet | |||||||||||
OBNetwork customer | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | Automated tests | |||||||||||
Regression date | 2019-07-03 | |||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/f831b0b71a5ec700751e645c9e6980001acd8c7b [^] | |||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0041321: [AUoM] Operative Quantity isn't correctly calculated when Creating Lines in Purchase Invoice from a Return To Vendor order | |||||||||||
Description | When creating lines from a Return To Vendor order in the Purchase Invoice window, those that make use of Alternate Unit of Measure don't have their Operative Quantity correctly calculated, in accordance to the Conversion Rate of the alternate unit as the assertion of the AUMRTVc010InvoiceAReturnToVendorShipment test expects it. This issue has arised from thanks to qa-pi-aum jobs executing under the QA tab of CI, and with the mentioned test. More details of one of the latest execution showing the issue can be found in the following link: https://ci.openbravo.com/view/qa/job/qa-pi-aum-pgsql/485/ [^] | |||||||||||
Steps To Reproduce | As group admin role: Set 'Enable UOM Management' preference to Y Log out and log in Add Liter unit to 'Cerveza Ale 0,5L' in Alternate UOM tab as Primary UOM Add a conversion of 2 Create a Goods Receipt Add 10 Liters of 'Cerveza Ale 0,5L': Operative Quantity: 10 Alternative UOM: Liter Ordered Quantity: 20 Storage Bin: O01 UOM: Unit Book it Go to Return To Vendor Open the Pick/Edit Lines popup to select the lines of the previously created Goods Receipt Check the quantities and other fields are shown as in the order line in the pop-up Set the "returned" field to 3, "returned UOM" to "Liter" and "return reason" to "Defective" Check the Alternative UOM is updated with Unit in the Return To Vendor line: Movement Quantity: 6 Book it Go to Return to Vendor Shipment, and use the Pick/Edit Lines popup to create the lines from the Goods Receipt, and book it Go to Purchase Invoice window, and create a new record by importing the lines with the Return To Vendor. NOTICE that the Operative Quantity shows as "-3" when the value expected by the test is "-6" | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2019-07-09 10:22 | Sandrahuguet | Type | defect => backport | |||||||||
2019-07-09 10:22 | Sandrahuguet | Target Version | => 3.0PR19Q3 | |||||||||
2019-07-11 20:18 | hgbot | Checkin | ||||||||||
2019-07-11 20:18 | hgbot | Note Added: 0113311 | ||||||||||
2019-07-11 20:18 | hgbot | Status | scheduled => resolved | |||||||||
2019-07-11 20:18 | hgbot | Resolution | open => fixed | |||||||||
2019-07-11 20:18 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR19Q3/rev/8f91470bc140811d4cbb2c78de461b4639371ffb [^] | |||||||||
2019-07-11 20:18 | hgbot | Checkin | ||||||||||
2019-07-11 20:18 | hgbot | Note Added: 0113312 | ||||||||||
2019-07-11 20:19 | Sandrahuguet | Review Assigned To | => Sandrahuguet | |||||||||
2019-07-11 20:19 | Sandrahuguet | Note Added: 0113315 | ||||||||||
2019-07-11 20:19 | Sandrahuguet | Status | resolved => closed | |||||||||
2019-07-11 20:19 | Sandrahuguet | Fixed in Version | => 3.0PR19Q3 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|