IDEMPIERE-3287
This commit is contained in:
parent
4e152d2e03
commit
358328d0c9
|
@ -199,7 +199,13 @@ public class WPAttributeEditor extends WEditor implements ContextMenuListener
|
|||
getComponent().setText(vad.getM_AttributeSetInstanceName());
|
||||
M_AttributeSetInstance_ID = vad.getM_AttributeSetInstance_ID();
|
||||
if (m_GridTab != null && !productWindow && vad.getM_Locator_ID() > 0)
|
||||
{
|
||||
if (gridField.getColumnName().equals("M_AttributeSetInstanceTo_ID"))
|
||||
m_GridTab.setValue("M_LocatorTo_ID", vad.getM_Locator_ID());
|
||||
else
|
||||
m_GridTab.setValue("M_Locator_ID", vad.getM_Locator_ID());
|
||||
|
||||
}
|
||||
changed = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue