Implement [ 1951970 ] Allow generation of migration scripts for clients

This commit is contained in:
Carlos Ruiz 2008-04-25 22:54:10 +00:00
parent df60069575
commit 45f7ca3daa
1 changed files with 5 additions and 2 deletions

View File

@ -435,8 +435,11 @@ public final class Preference extends CDialog
{
adempiereSys.setSelected(false);
adempiereSys.setEnabled(false);
logMigrationScript.setSelected(false);
logMigrationScript.setEnabled(false);
if (Env.getAD_User_ID(Env.getCtx()) > 100) {
// disable log migration scripts on clients non-GW for non-SuperUser
logMigrationScript.setSelected(false);
logMigrationScript.setEnabled(false);
}
}
// AutoLogin
autoLogin.setSelected(Ini.isPropertyBool(Ini.P_A_LOGIN));