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:
Carlos Ruiz 2019-03-24 15:30:46 -03:00
parent 216a84c478
commit 66f6dac19d
1 changed files with 2 additions and 2 deletions

View File

@ -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;