From 3053494e47a93f79cbd05bdada7ac76e55b4fff5 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Tue, 24 Jul 2018 09:38:05 +0200 Subject: [PATCH] IDEMPIERE-3757 In form "Menu" for Client can not view and edit Menu tree. (Menu item is created successfully) --- .../i5.1/oracle/201807240936_IDEMPIERE-3757.sql | 15 +++++++++++++++ .../postgresql/201807240936_IDEMPIERE-3757.sql | 12 ++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 migration/i5.1/oracle/201807240936_IDEMPIERE-3757.sql create mode 100644 migration/i5.1/postgresql/201807240936_IDEMPIERE-3757.sql diff --git a/migration/i5.1/oracle/201807240936_IDEMPIERE-3757.sql b/migration/i5.1/oracle/201807240936_IDEMPIERE-3757.sql new file mode 100644 index 0000000000..2e7ba299e2 --- /dev/null +++ b/migration/i5.1/oracle/201807240936_IDEMPIERE-3757.sql @@ -0,0 +1,15 @@ +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- IDEMPIERE-3757 +-- Jul 24, 2018 9:30:27 AM CEST +UPDATE AD_Table SET AccessLevel='4',Updated=TO_DATE('2018-07-24 09:30:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=116 +; + +DELETE FROM ad_window_access WHERE ad_window_id=105 +AND ad_role_id IN (SELECT ad_role_id FROM ad_role WHERE ismanual='N' AND userlevel NOT LIKE 'S%') +; + +SELECT register_migration_script('201807240936_IDEMPIERE-3757.sql') FROM dual +; + diff --git a/migration/i5.1/postgresql/201807240936_IDEMPIERE-3757.sql b/migration/i5.1/postgresql/201807240936_IDEMPIERE-3757.sql new file mode 100644 index 0000000000..427a6235d3 --- /dev/null +++ b/migration/i5.1/postgresql/201807240936_IDEMPIERE-3757.sql @@ -0,0 +1,12 @@ +-- IDEMPIERE-3757 +-- Jul 24, 2018 9:30:27 AM CEST +UPDATE AD_Table SET AccessLevel='4',Updated=TO_TIMESTAMP('2018-07-24 09:30:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=116 +; + +DELETE FROM ad_window_access WHERE ad_window_id=105 +AND ad_role_id IN (SELECT ad_role_id FROM ad_role WHERE ismanual='N' AND userlevel NOT LIKE 'S%') +; + +SELECT register_migration_script('201807240936_IDEMPIERE-3757.sql') FROM dual +; +