Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0038521Openbravo ERP04. Warehouse managementpublic2018-05-11 11:572018-05-15 20:43
umartirena 
AtulOpenbravo 
urgentminoralways
closedfixed 
5
 
3.0PR18Q3 
aferraz
Core
No
0038521: Operative quantity in goods shipment line field gets overridden when using Create Lines From functionality
Operative quantity in goods shipment line field gets overridden when using Create Lines From functionality.
In https://livebuilds.openbravo.com [^]
 * Login as System Administrator
 * Create a new preference:
    * Property: "Enable UOM Management"
    * Selected: "Y"
    * Value "Y"
 * Login as F&B Group Admin
 * Go to Sales Order window and create a new header.
 * Create a new line:
    * Product: "Zumo de Naranja Bio 0,33L"
    * Operative Quantity: 10
 * Book the order
 * Go to Goods Shipment window and create a new header.
 * Click on "Create Lines From" and select the previous created order and select the line with Quantity 10. Select also the Warehouse. Click OK
 * Check a new line has been created having Attribute Set Value field empty.
 * Edit the line and click on Product field magnifying glass.
 * Select a line for the same product with a non empty Attribute Set Value and different Quantity on Hand than the Operative Quantity of the Goods Shipment line.
 * Click OK.
 * Check that the Operative Quantity of the line has been overridden with the Quantity on Hand of the selected line in product selector, which should not happen.
No tags attached.
related to defect 0038522 scheduled AtulOpenbravo Product Selector in Goods Shipment Line should be automatically filtered by the selected product if "Create Lines From" is used. 
Issue History
2018-05-11 11:57umartirenaNew Issue
2018-05-11 11:57umartirenaAssigned To => Triage Finance
2018-05-11 11:57umartirenaModules => Core
2018-05-11 11:57umartirenaTriggers an Emergency Pack => No
2018-05-11 12:10aferrazAssigned ToTriage Finance => AtulOpenbravo
2018-05-14 13:58AtulOpenbravoStatusnew => scheduled
2018-05-14 13:58AtulOpenbravoNote Added: 0104502
2018-05-14 16:39aferrazRelationship addedrelated to 0038522
2018-05-14 19:09hgbotCheckin
2018-05-14 19:09hgbotNote Added: 0104504
2018-05-14 19:09hgbotStatusscheduled => resolved
2018-05-14 19:09hgbotResolutionopen => fixed
2018-05-14 19:09hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/8642b9530182c4f3e7c2b177ee87e42f59ea485b [^]
2018-05-14 19:09hgbotCheckin
2018-05-14 19:09hgbotNote Added: 0104505
2018-05-14 19:18aferrazReview Assigned To => aferraz
2018-05-14 19:18aferrazNote Added: 0104506
2018-05-14 19:18aferrazStatusresolved => closed
2018-05-14 19:18aferrazFixed in Version => 3.0PR18Q3
2018-05-15 20:43hudsonbotCheckin
2018-05-15 20:43hudsonbotNote Added: 0104533
2018-05-15 20:43hudsonbotCheckin
2018-05-15 20:43hudsonbotNote Added: 0104534

Notes
(0104502)
AtulOpenbravo   
2018-05-14 13:58   
Test Plan

- Login as System Administrator
- Create a new preference:
    - Property: "Enable UOM Management"
    - Selected: "Y"
    - Value "Y"
- Login as F&B Group Admin
- Go to Sales Order window and create a new header for any business partner.
- Create a new line:
    - Product: "Zumo de Naranja Bio 0,33L"
    - Operative Quantity: 10
- Book the order
- Go to Goods Shipment window and create a new header.
- Click on "Create Lines From" and select the previous created order and select the line with Quantity 10. Select also the Warehouse. Click OK
- Check a new line has been created having Attribute Set Value field empty.
- Edit the line and click on Product field magnifying glass.
- Select a line for the same product with a non empty Attribute Set Value and different Quantity on Hand than the Operative Quantity of the Goods Shipment line.
- Click OK.
- Check that the Operative Quantity of the line is same as 10. It is not changed to the On Hand Quantity in the product selector.
- Using Product selector, add one more line with same product having some attribute and on hand quantity.
- Realized that Operative Quantity = On Hand Quantity in selector as this line is not referred from order line. Hence this is correct.
(0104504)
hgbot   
2018-05-14 19:09   
Repository: erp/devel/pi
Changeset: 8642b9530182c4f3e7c2b177ee87e42f59ea485b
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Mon May 14 18:13:00 2018 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/8642b9530182c4f3e7c2b177ee87e42f59ea485b [^]

Fixes Issue 38521: Operative quantity in goods shipment line
field gets overridden when using Create Lines From
functionality

Modifying AUM qty as per on hand qty in product selector
to be done only when receipt/shipment line is not linked
with order line

---
M src/org/openbravo/erpCommon/ad_callouts/SL_InOutLine_Product.java
---
(0104505)
hgbot   
2018-05-14 19:09   
Repository: erp/devel/pi
Changeset: 32cfd33daee1ba338e976e1343ed9eb383f87273
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Mon May 14 18:21:41 2018 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/32cfd33daee1ba338e976e1343ed9eb383f87273 [^]

Related to issue 38521: Code review improvements

---
M src/org/openbravo/erpCommon/ad_callouts/SL_InOutLine_Product.java
---
(0104506)
aferraz   
2018-05-14 19:18   
Code review + Testing OK
(0104533)
hudsonbot   
2018-05-15 20:43   
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/79b08258a2aa [^]
Maturity status: Test
(0104534)
hudsonbot   
2018-05-15 20:43   
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/79b08258a2aa [^]
Maturity status: Test