IDEMPIERE-1551 Generate Shipments (manual) window don't load Warehouse when login with Organization = * / based on patch from hieplq

This commit is contained in:
Carlos Ruiz 2015-01-07 10:32:21 -05:00
parent 1162973504
commit d867a0f2a7
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ public class WInOutGen extends InOutGen implements IFormController, EventListene
public void dynInit() throws Exception public void dynInit() throws Exception
{ {
// C_OrderLine.M_Warehouse_ID // C_OrderLine.M_Warehouse_ID
MLookup orgL = MLookupFactory.get (Env.getCtx(), form.getWindowNo(), 0, 2223, DisplayType.TableDir); MLookup orgL = MLookupFactory.get (Env.getCtx(), form.getWindowNo(), 0, 11474 /* M_Requisition.M_Warehouse_ID */, DisplayType.TableDir);
fWarehouse = new WTableDirEditor ("M_Warehouse_ID", true, false, true, orgL); fWarehouse = new WTableDirEditor ("M_Warehouse_ID", true, false, true, orgL);
lWarehouse.setText(Msg.translate(Env.getCtx(), "M_Warehouse_ID")); lWarehouse.setText(Msg.translate(Env.getCtx(), "M_Warehouse_ID"));
fWarehouse.addValueChangeListener(this); fWarehouse.addValueChangeListener(this);