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());
|
setHeaderInfo(getParent());
|
||||||
|
|
||||||
|
|
||||||
// R/O Check - Product/Warehouse Change/Attribute set instance
|
// R/O Check - Product/Warehouse Change
|
||||||
if (!newRecord
|
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())
|
if (!canChangeWarehouse())
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue