IDEMPIERE-3982 MOrderLine.setPrice should not override UnitOfMeasure
This commit is contained in:
parent
0451bf0b4f
commit
ccf591b89b
|
@ -311,7 +311,8 @@ public class MOrderLine extends X_C_OrderLine
|
|||
// Calculate Discount
|
||||
setDiscount(m_productPrice.getDiscount());
|
||||
// Set UOM
|
||||
setC_UOM_ID(m_productPrice.getC_UOM_ID());
|
||||
if (getC_UOM_ID()==0)
|
||||
setC_UOM_ID(m_productPrice.getC_UOM_ID());
|
||||
} // setPrice
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue