IDEMPIERE-2083 can't complete a internal inventory when date account > date account all receipt / IDEMPIERE-1770 / thanks to Hiep (hieplq)
This commit is contained in:
parent
6953754984
commit
33120387c2
|
@ -238,7 +238,7 @@ public class MInventoryLineMA extends X_M_InventoryLineMA
|
|||
protected boolean beforeSave (boolean newRecord)
|
||||
{
|
||||
//Set DateMaterialPolicy
|
||||
if(is_ValueChanged(COLUMNNAME_M_AttributeSetInstance_ID)){
|
||||
if(!newRecord && is_ValueChanged(COLUMNNAME_M_AttributeSetInstance_ID)){
|
||||
I_M_InventoryLine line = getM_InventoryLine();
|
||||
|
||||
Timestamp dateMPolicy = null;
|
||||
|
|
Loading…
Reference in New Issue