Openbravo Issue Tracking System - Retail Modules
View Issue Details
0033363Retail ModulesWeb POSpublic2016-06-27 12:222016-06-27 12:22
malsasua 
Retail 
normalminoralways
newopen 
20Community Appliance
 
 
No
0033363: It is not possible to set the product_uom in OrderLoader
In OrderLoader, when M_UPDATE_INVENTORY is called, the m_product_uom parameter is set to null.

It should be nice to able to set this property to another value using hooks, for example, adding the next line
transaction.setProductUOM(line.getProductUOM()); in
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/2a40713e9b35/src/org/openbravo/retail/posterminal/OrderLoader.java#l1641 [^]

and replace line:
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/2a40713e9b35/src/org/openbravo/retail/posterminal/OrderLoader.java#l1676 [^]
to
updateStockStatement.setString(8, transaction.getProductUOM().getId());
. n/a
No tags attached.
Issue History
2016-06-27 12:22malsasuaNew Issue
2016-06-27 12:22malsasuaAssigned To => Retail
2016-06-27 12:22malsasuaTriggers an Emergency Pack => No

There are no notes attached to this issue.