From 10129bba5546d18d1079109b9760a47cf558163e Mon Sep 17 00:00:00 2001 From: Nicolas Micoud Date: Wed, 5 Oct 2016 15:09:49 +0200 Subject: [PATCH] IDEMPIERE-3000 Automatic opening of menu entries at login --- .../oracle/201610041640_IDEMPIERE-3000_fix.sql | 18 ++++++++++++++++++ .../201610041640_IDEMPIERE-3000_fix.sql | 15 +++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 migration/i3.1/oracle/201610041640_IDEMPIERE-3000_fix.sql create mode 100644 migration/i3.1/postgresql/201610041640_IDEMPIERE-3000_fix.sql diff --git a/migration/i3.1/oracle/201610041640_IDEMPIERE-3000_fix.sql b/migration/i3.1/oracle/201610041640_IDEMPIERE-3000_fix.sql new file mode 100644 index 0000000000..7fa72dcc14 --- /dev/null +++ b/migration/i3.1/oracle/201610041640_IDEMPIERE-3000_fix.sql @@ -0,0 +1,18 @@ +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- Oct 4, 2016 4:32:10 PM CEST +-- osef +UPDATE AD_Column SET AD_Element_ID=110, AD_Reference_ID=30, ColumnName='AD_Menu_ID', ColumnSQL='Node_ID', Description='Identifies a Menu', FKConstraintType=NULL, FieldLength=22, Help='The Menu identifies a unique Menu. Menus are used to control the display of those screens a user has access to.', IsIdentifier='N', Name='Menu',Updated=TO_DATE('2016-10-04 16:32:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=212589 +; + +-- Oct 4, 2016 4:32:39 PM CEST +UPDATE AD_Field SET EntityType='D',Updated=TO_DATE('2016-10-04 16:32:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=204112 +; + +-- Oct 4, 2016 4:32:43 PM CEST +UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2016-10-04 16:32:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=212589 +; + +SELECT register_migration_script('201610041640_IDEMPIERE-3000_fix.sql') FROM dual +; \ No newline at end of file diff --git a/migration/i3.1/postgresql/201610041640_IDEMPIERE-3000_fix.sql b/migration/i3.1/postgresql/201610041640_IDEMPIERE-3000_fix.sql new file mode 100644 index 0000000000..6335ef2bae --- /dev/null +++ b/migration/i3.1/postgresql/201610041640_IDEMPIERE-3000_fix.sql @@ -0,0 +1,15 @@ +-- Oct 4, 2016 4:32:10 PM CEST +-- osef +UPDATE AD_Column SET AD_Element_ID=110, AD_Reference_ID=30, ColumnName='AD_Menu_ID', ColumnSQL='Node_ID', Description='Identifies a Menu', FKConstraintType=NULL, FieldLength=22, Help='The Menu identifies a unique Menu. Menus are used to control the display of those screens a user has access to.', IsIdentifier='N', Name='Menu',Updated=TO_TIMESTAMP('2016-10-04 16:32:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=212589 +; + +-- Oct 4, 2016 4:32:39 PM CEST +UPDATE AD_Field SET EntityType='D',Updated=TO_TIMESTAMP('2016-10-04 16:32:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=204112 +; + +-- Oct 4, 2016 4:32:43 PM CEST +UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2016-10-04 16:32:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=212589 +; + +SELECT register_migration_script('201610041640_IDEMPIERE-3000_fix.sql') FROM dual +; \ No newline at end of file