From 19342a042ee0a9931242ff99d076f03a88e30615 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Thu, 27 Sep 2012 12:20:39 -0500 Subject: [PATCH] IDEMPIERE-366 Improve Role Inheritance / Thanks to Juliana Corredor --- .../oracle/920_IDEMPIERE_366.sql | 178 +++++++++++++++++ .../postgresql/920_IDEMPIERE_366.sql | 179 ++++++++++++++++++ .../src/org/compiere/model/MRole.java | 2 +- 3 files changed, 358 insertions(+), 1 deletion(-) create mode 100644 migration/360lts-release/oracle/920_IDEMPIERE_366.sql create mode 100644 migration/360lts-release/postgresql/920_IDEMPIERE_366.sql diff --git a/migration/360lts-release/oracle/920_IDEMPIERE_366.sql b/migration/360lts-release/oracle/920_IDEMPIERE_366.sql new file mode 100644 index 0000000000..dc48eeb8fd --- /dev/null +++ b/migration/360lts-release/oracle/920_IDEMPIERE_366.sql @@ -0,0 +1,178 @@ +-- Sep 25, 2012 1:46:23 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_DATE('2012-09-25 13:46:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=930 +; + +-- Sep 25, 2012 1:46:30 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_DATE('2012-09-25 13:46:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=931 +; + +-- Sep 25, 2012 1:46:35 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_DATE('2012-09-25 13:46:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59592 +; + +-- Sep 25, 2012 1:46:40 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_DATE('2012-09-25 13:46:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59591 +; + +-- Sep 25, 2012 1:46:46 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_DATE('2012-09-25 13:46:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=10126 +; + +-- Sep 25, 2012 1:46:52 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_DATE('2012-09-25 13:46:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=52018 +; + +-- Sep 25, 2012 1:46:57 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_DATE('2012-09-25 13:46:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=8740 +; + +-- Sep 25, 2012 1:47:04 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_DATE('2012-09-25 13:47:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=5227 +; + +-- Sep 25, 2012 1:47:10 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_DATE('2012-09-25 13:47:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=11006 +; + +-- Sep 25, 2012 1:47:16 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_DATE('2012-09-25 13:47:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=11003 +; + +-- Sep 25, 2012 1:47:23 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_DATE('2012-09-25 13:47:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=11002 +; + +-- Sep 25, 2012 1:47:30 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_DATE('2012-09-25 13:47:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=8311 +; + +-- Sep 25, 2012 1:49:28 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_DATE('2012-09-25 13:49:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=10813 +; + +-- Sep 25, 2012 1:49:40 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsAccessAllOrgs@=N and @IsMasterRole@=N',Updated=TO_DATE('2012-09-25 13:49:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=11256 +; + +-- Sep 25, 2012 1:49:50 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsAccessAllOrgs@=N and @IsMasterRole@=N',Updated=TO_DATE('2012-09-25 13:49:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=11257 +; + +-- Sep 25, 2012 1:49:56 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_DATE('2012-09-25 13:49:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=8313 +; + +-- Sep 25, 2012 1:50:01 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_DATE('2012-09-25 13:50:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=8314 +; + +-- Sep 25, 2012 1:50:06 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_DATE('2012-09-25 13:50:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=8312 +; + +-- Sep 25, 2012 1:50:22 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_DATE('2012-09-25 13:50:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=8310 +; + +-- Sep 25, 2012 1:50:26 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_DATE('2012-09-25 13:50:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=12367 +; + +-- Sep 25, 2012 1:50:31 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_DATE('2012-09-25 13:50:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=12368 +; + +-- Sep 25, 2012 1:50:40 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_DATE('2012-09-25 13:50:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200071 +; + +-- Sep 25, 2012 1:50:45 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_DATE('2012-09-25 13:50:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50168 +; + +-- Sep 25, 2012 1:51:14 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_DATE('2012-09-25 13:51:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50169 +; + +-- Sep 25, 2012 1:51:19 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_DATE('2012-09-25 13:51:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50170 +; + +-- Sep 25, 2012 1:51:35 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_DATE('2012-09-25 13:51:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50172 +; + +-- Sep 25, 2012 1:51:40 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_DATE('2012-09-25 13:51:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50173 +; + +-- Sep 25, 2012 1:51:45 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_DATE('2012-09-25 13:51:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50174 +; + +-- Sep 25, 2012 1:51:50 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_DATE('2012-09-25 13:51:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50175 +; + +-- Sep 25, 2012 1:51:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_DATE('2012-09-25 13:51:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50176 +; + +-- Sep 25, 2012 1:52:00 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_DATE('2012-09-25 13:52:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50177 +; + +-- Sep 25, 2012 1:52:04 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_DATE('2012-09-25 13:52:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50178 +; + +-- Sep 25, 2012 1:58:27 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET ReadOnlyLogic=NULL,DefaultValue=NULL,Updated=TO_DATE('2012-09-25 13:58:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=534 +; + +-- Sep 25, 2012 2:19:54 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsAccessAllOrgs@=N & @IsMasterRole@=N',Updated=TO_DATE('2012-09-25 14:19:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=11256 +; + +-- Sep 25, 2012 2:20:02 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsAccessAllOrgs@=N & @IsMasterRole@=N',Updated=TO_DATE('2012-09-25 14:20:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=11257 +; + +SELECT register_migration_script('920_IDEMPIERE_366.sql') FROM dual +; + diff --git a/migration/360lts-release/postgresql/920_IDEMPIERE_366.sql b/migration/360lts-release/postgresql/920_IDEMPIERE_366.sql new file mode 100644 index 0000000000..7ce086eb7a --- /dev/null +++ b/migration/360lts-release/postgresql/920_IDEMPIERE_366.sql @@ -0,0 +1,179 @@ +-- Sep 25, 2012 1:46:23 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 13:46:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=930 +; + +-- Sep 25, 2012 1:46:30 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 13:46:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=931 +; + +-- Sep 25, 2012 1:46:35 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 13:46:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59592 +; + +-- Sep 25, 2012 1:46:40 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 13:46:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59591 +; + +-- Sep 25, 2012 1:46:46 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 13:46:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=10126 +; + +-- Sep 25, 2012 1:46:52 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 13:46:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=52018 +; + +-- Sep 25, 2012 1:46:57 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 13:46:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=8740 +; + +-- Sep 25, 2012 1:47:04 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 13:47:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=5227 +; + +-- Sep 25, 2012 1:47:10 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 13:47:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=11006 +; + +-- Sep 25, 2012 1:47:16 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 13:47:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=11003 +; + +-- Sep 25, 2012 1:47:23 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 13:47:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=11002 +; + +-- Sep 25, 2012 1:47:30 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 13:47:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=8311 +; + +-- Sep 25, 2012 1:49:28 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 13:49:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=10813 +; + +-- Sep 25, 2012 1:49:40 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsAccessAllOrgs@=N and @IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 13:49:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=11256 +; + +-- Sep 25, 2012 1:49:50 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsAccessAllOrgs@=N and @IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 13:49:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=11257 +; + +-- Sep 25, 2012 1:49:56 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 13:49:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=8313 +; + +-- Sep 25, 2012 1:50:01 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 13:50:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=8314 +; + +-- Sep 25, 2012 1:50:06 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 13:50:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=8312 +; + +-- Sep 25, 2012 1:50:22 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 13:50:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=8310 +; + +-- Sep 25, 2012 1:50:26 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 13:50:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=12367 +; + +-- Sep 25, 2012 1:50:31 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 13:50:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=12368 +; + +-- Sep 25, 2012 1:50:40 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 13:50:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200071 +; + +-- Sep 25, 2012 1:50:45 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 13:50:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50168 +; + +-- Sep 25, 2012 1:51:14 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 13:51:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50169 +; + +-- Sep 25, 2012 1:51:19 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 13:51:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50170 +; + +-- Sep 25, 2012 1:51:35 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 13:51:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50172 +; + +-- Sep 25, 2012 1:51:40 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 13:51:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50173 +; + +-- Sep 25, 2012 1:51:45 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 13:51:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50174 +; + +-- Sep 25, 2012 1:51:50 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 13:51:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50175 +; + +-- Sep 25, 2012 1:51:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 13:51:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50176 +; + +-- Sep 25, 2012 1:52:00 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 13:52:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50177 +; + +-- Sep 25, 2012 1:52:04 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 13:52:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50178 +; + +-- Sep 25, 2012 1:58:27 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET ReadOnlyLogic=NULL,DefaultValue=NULL,Updated=TO_TIMESTAMP('2012-09-25 13:58:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=534 +; + +-- Sep 25, 2012 2:19:54 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsAccessAllOrgs@=N & @IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 14:19:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=11256 +; + +-- Sep 25, 2012 2:20:02 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@IsAccessAllOrgs@=N & @IsMasterRole@=N',Updated=TO_TIMESTAMP('2012-09-25 14:20:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=11257 +; + + +SELECT register_migration_script('920_IDEMPIERE_366.sql') FROM dual +; + diff --git a/org.adempiere.base/src/org/compiere/model/MRole.java b/org.adempiere.base/src/org/compiere/model/MRole.java index 8717c5ca17..dc93502819 100644 --- a/org.adempiere.base/src/org/compiere/model/MRole.java +++ b/org.adempiere.base/src/org/compiere/model/MRole.java @@ -349,7 +349,7 @@ public final class MRole extends X_AD_Role setUserLevel(USERLEVEL_System); else if (getUserLevel().equals(USERLEVEL_System)) { - log.saveWarning("AccessTableNoUpdate", Msg.getElement(getCtx(), "UserLevel")); + log.saveError("AccessTableNoUpdate", Msg.getElement(getCtx(), "UserLevel")); return false; } // }