IDEMPIERE-3287

This commit is contained in:
Hideaki Hagiwara 2017-01-25 22:18:44 +09:00
parent 4e152d2e03
commit 358328d0c9
1 changed files with 7 additions and 1 deletions

View File

@ -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;
}