IDEMPIERE-4520 Attribute Instance not Refreshed on Create only on Update (#409)
This commit is contained in:
parent
72f991d7a6
commit
2735131285
|
@ -281,7 +281,6 @@ public class MAttribute extends X_M_Attribute implements ImmutablePOSupport
|
|||
MAttributeInstance instance = getMAttributeInstance(M_AttributeSetInstance_ID);
|
||||
if (instance == null)
|
||||
instance = new MAttributeInstance(getCtx(), getM_Attribute_ID(), M_AttributeSetInstance_ID, valueInt, get_TrxName());
|
||||
else
|
||||
instance.setValueInt(valueInt, value);
|
||||
instance.saveEx();
|
||||
} // setAttributeInstance
|
||||
|
|
Loading…
Reference in New Issue