Backed out changeset bbacf89a77a9 - IDEMPIERE-3886 Validate change of Attribute set instance on order lines when the qty reserved > 0
This commit is contained in:
parent
216a84c478
commit
66f6dac19d
|
@ -798,9 +798,9 @@ public class MOrderLine extends X_C_OrderLine
|
|||
setHeaderInfo(getParent());
|
||||
|
||||
|
||||
// R/O Check - Product/Warehouse Change/Attribute set instance
|
||||
// R/O Check - Product/Warehouse Change
|
||||
if (!newRecord
|
||||
&& (is_ValueChanged("M_Product_ID") || is_ValueChanged("M_Warehouse_ID") || is_ValueChanged("M_AttributeSetInstance_ID")))
|
||||
&& (is_ValueChanged("M_Product_ID") || is_ValueChanged("M_Warehouse_ID")))
|
||||
{
|
||||
if (!canChangeWarehouse())
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue