IDEMPIERE-5178: Attribute dialog selection do not show all warehouse ASI on cost adjustment. (#1156)
This commit is contained in:
parent
978be7a956
commit
891e22d80b
|
@ -906,7 +906,7 @@ public class WPAttributeDialog extends Window implements EventListener<Event>
|
|||
if (C_DocType_ID > 0) {
|
||||
MDocType doctype = new MDocType (Env.getCtx(), C_DocType_ID, null);
|
||||
String docbase = doctype.getDocBaseType();
|
||||
if (docbase.equals(MDocType.DOCBASETYPE_MaterialReceipt))
|
||||
if (docbase.equals(MDocType.DOCBASETYPE_MaterialReceipt) || MDocType.DOCSUBTYPEINV_CostAdjustment.equals(doctype.getDocSubTypeInv()))
|
||||
M_Warehouse_ID = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue