IDEMPIERE-3289 DocAction button at second tab level. / based on patch from Fernando Moraes

This commit is contained in:
Carlos Ruiz 2017-02-14 13:27:27 +01:00
parent 654bd882dc
commit e7f15a3b49
2 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ public class VDocAction extends CDialog
}
// dynamic init preparation
m_AD_Table_ID = Env.getContextAsInt(Env.getCtx(), WindowNo, "BaseTable_ID");
m_AD_Table_ID = mTab.getAD_Table_ID();
if (s_value == null)
readReference();
//

View File

@ -98,7 +98,7 @@ public class WDocActionPanel extends Window implements EventListener<Event>, Dia
DocStatus = (String)gridTab.getValue("DocStatus");
DocAction = (String)gridTab.getValue("DocAction");
m_AD_Table_ID = Env.getContextAsInt(Env.getCtx(), gridTab.getWindowNo(), "BaseTable_ID");
m_AD_Table_ID = mgridTab.getAD_Table_ID();
readReference();
initComponents();