Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0037069Openbravo ERP07. Sales managementpublic2017-01-03 14:212018-01-25 16:56
psanjuan 
nonofrancisco 
urgentmajoralways
closedfixed 
20Professional Appliance
 
3.0PR17Q4.13.0PR17Q4.1 
dmiguelez
Core
No
0037069: Movement Qty column info not updated once a product with stock is selected in Goods Shipment if Alt UOM Preference is enable.
Movement Qty column info not updated once a product with stock is selected in Goods Shipment if Alt UOM Preference is enable.
In pi:

Go to Goods Shipment window and create a new one for F&B España, Alimentos y Supermercados business partner.
Go to lines and create a new one.
Click on product field, down arrow and select "Cerveza Ale 0.5L".
Verify that Movement Qty field is "automatically" updated with 24415.
See image 34840-1

Remove that line and close Goods Shipment form and leave session.
Log in.
Select System Admin role.

Go to Preference window and create a new record with below setup:

Client = System.
Organization = *
Property = Enable UOM Management.
Value = Y
Visible at = all empty.
Save it.
Log out and Log in.

Go to Goods Shipment window and create a new one for F&B España, Alimentos y Supermercados business partner.
Go to lines and create a new one.
Click on product field, down arrow and select "Cerveza Ale 0.5L".
Verify that Operative Qty field is empty.

See image 34840-2

Operative Quantity field should be automatically populated at least for those product do not having an alternative UOM but the same one they are stored in.

To be discussed whether this behaviour can be extended to products having an alternative UOM configured.
No tags attached.
blocks defect 0034840 closed nonofrancisco Movement Qty column info not updated once a product with stock is selected in Goods Shipment if Alt UOM Preference is enable. 
Issue History
2017-10-13 15:13nonofranciscoTypedefect => backport
2017-10-13 15:13nonofranciscoTarget Version => 3.0PR17Q4
2017-12-28 09:23psanjuanTarget Version3.0PR17Q4 => 3.0PR17Q4.1
2018-01-25 16:56hgbotCheckin
2018-01-25 16:56hgbotNote Added: 0101964
2018-01-25 16:56hgbotStatusscheduled => resolved
2018-01-25 16:56hgbotResolutionopen => fixed
2018-01-25 16:56hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR17Q4.1/rev/2f93f057375b1fe72da5242915c8dc0404945b4d [^]
2018-01-25 16:56hgbotCheckin
2018-01-25 16:56hgbotNote Added: 0101965
2018-01-25 16:56hgbotCheckin
2018-01-25 16:56hgbotNote Added: 0101966
2018-01-25 16:56dmiguelezReview Assigned To => dmiguelez
2018-01-25 16:56dmiguelezNote Added: 0101968
2018-01-25 16:56dmiguelezStatusresolved => closed
2018-01-25 16:56dmiguelezFixed in Version => 3.0PR17Q4.1

Notes
(0101964)
hgbot   
2018-01-25 16:56   
Repository: erp/backports/3.0PR17Q4.1
Changeset: 2f93f057375b1fe72da5242915c8dc0404945b4d
Author: Nono Carballo <nonofce <at> gmail.com>
Date: Mon Jan 22 12:12:44 2018 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR17Q4.1/rev/2f93f057375b1fe72da5242915c8dc0404945b4d [^]

Fixes issue 37069: Movement Qty column info not updated once a product with stock
is selected in Goods Shipment if Alt UOM Preference is enable.

Operative Quantity field isautomatically populated if the selected product
do not have a default Alternative UOM configured and the product has
quantity on hand.

---
M src/org/openbravo/erpCommon/ad_callouts/SL_InOutLine_Product.java
---
(0101965)
hgbot   
2018-01-25 16:56   
Repository: erp/backports/3.0PR17Q4.1
Changeset: f250da499f9fd6e1b3979a3d3727e91a5a2cec91
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Mon Jan 22 12:30:04 2018 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR17Q4.1/rev/f250da499f9fd6e1b3979a3d3727e91a5a2cec91 [^]

Related to issue 37069: Code Review changes

* Added final modifier to product object again
* Removed unused methods
* When setting the AUM, set also the Quantity expresed in AUM
  and for that, convert the original quantity to the AUM equivalent.

---
M src/org/openbravo/erpCommon/ad_callouts/SL_InOutLine_Product.java
---
(0101966)
hgbot   
2018-01-25 16:56   
Repository: erp/backports/3.0PR17Q4.1
Changeset: 039bba21b2b5829a987529066f4a957d109ab14a
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Wed Jan 24 16:21:27 2018 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR17Q4.1/rev/039bba21b2b5829a987529066f4a957d109ab14a [^]

Related to Issue 37069. Change done to reload the qty in stock for a product
instead of 0 after the line has been saved

---
M src/org/openbravo/erpCommon/ad_callouts/SL_InOutLine_Product.java
---
(0101968)
dmiguelez   
2018-01-25 16:56   
Code Review + Testing Ok