Merge fcbc65ffd837
This commit is contained in:
commit
35c0c89fb6
|
@ -691,7 +691,7 @@ public class MColumn extends X_AD_Column
|
|||
if (rt != null)
|
||||
foreignTable = rt.getAD_Table().getTableName();
|
||||
}
|
||||
} else if (DisplayType.List == refid) {
|
||||
} else if (DisplayType.List == refid || DisplayType.Payment == refid) {
|
||||
foreignTable = "AD_Ref_List";
|
||||
} else if (DisplayType.Location == refid) {
|
||||
foreignTable = "C_Location";
|
||||
|
|
|
@ -324,7 +324,11 @@ public class MProcess extends X_AD_Process
|
|||
{
|
||||
if (log.isLoggable(Level.INFO)) log.info(pi.getClassName());
|
||||
|
||||
if (pi.getClassName().toLowerCase().startsWith(MRule.SCRIPT_PREFIX)) {
|
||||
return ProcessUtil.startScriptProcess(getCtx(), pi, trx);
|
||||
} else {
|
||||
return ProcessUtil.startJavaProcess(getCtx(), pi, trx, managedTrx);
|
||||
}
|
||||
} // startClass
|
||||
|
||||
|
||||
|
|
|
@ -276,6 +276,9 @@ public final class WAccountDialog extends Window
|
|||
GridWindowVO wVO = AEnv.getMWindowVO (m_WindowNo, AD_Window_ID, 0);
|
||||
if (wVO == null)
|
||||
return false;
|
||||
// Force window/tab to be read-only
|
||||
wVO.WindowType = GridWindowVO.WINDOWTYPE_QUERY;
|
||||
wVO.Tabs.get(0).IsReadOnly = true;
|
||||
m_mWindow = new GridWindow (wVO);
|
||||
m_mTab = m_mWindow.getTab(0);
|
||||
// Make sure is the tab is loaded - teo_sarca [ 1659124 ]
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
import org.compiere.util.Env;
|
||||
|
||||
Env.setContext(Env.getCtx(), "#ZK_Toolbar_Button_Size", "24");
|
||||
Env.setContext(Env.getCtx(), "#ZK_BROWSER_TITLE", "iDempiere");
|
||||
]]>
|
||||
</zscript>
|
||||
</zk>
|
||||
|
|
|
@ -229,7 +229,7 @@ public class AbstractService {
|
|||
req.setAttribute("MWebServiceType", m_webservicetype);
|
||||
|
||||
// Check if role has access on web-service
|
||||
String hasAccess = DB.getSQLValueString(null, ROLE_ACCESS_SQL,
|
||||
String hasAccess = DB.getSQLValueStringEx(null, ROLE_ACCESS_SQL,
|
||||
Env.getAD_Role_ID( m_cs.getCtx()),
|
||||
m_webservicetype.get_ID());
|
||||
|
||||
|
|
Loading…
Reference in New Issue