From dc227473bed512d93343af665fc8409c6917f1b6 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Fri, 11 Mar 2016 02:13:02 +0100 Subject: [PATCH] IDEMPIERE-3052 Advanced Search on doctype on invoices or orders shows all the doctypes --- migration/i3.1/oracle/201603110209_IDEMPIERE-3052.sql | 11 +++++++++++ .../i3.1/postgresql/201603110209_IDEMPIERE-3052.sql | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 migration/i3.1/oracle/201603110209_IDEMPIERE-3052.sql create mode 100644 migration/i3.1/postgresql/201603110209_IDEMPIERE-3052.sql diff --git a/migration/i3.1/oracle/201603110209_IDEMPIERE-3052.sql b/migration/i3.1/oracle/201603110209_IDEMPIERE-3052.sql new file mode 100644 index 0000000000..6f603252c1 --- /dev/null +++ b/migration/i3.1/oracle/201603110209_IDEMPIERE-3052.sql @@ -0,0 +1,11 @@ +-- IDEMPIERE-3052 Advanced Search on doctype on invoices or orders shows all the doctypes + +update ad_column set AD_Val_Rule_ID=124 where AD_Column_ID=3493 and AD_Val_Rule_ID IS NULL +; + +update ad_column set AD_Val_Rule_ID=133 where AD_Column_ID=2172 and AD_Val_Rule_ID IS NULL +; + +SELECT register_migration_script('201603110209_IDEMPIERE-3052.sql') FROM dual +; + diff --git a/migration/i3.1/postgresql/201603110209_IDEMPIERE-3052.sql b/migration/i3.1/postgresql/201603110209_IDEMPIERE-3052.sql new file mode 100644 index 0000000000..6f603252c1 --- /dev/null +++ b/migration/i3.1/postgresql/201603110209_IDEMPIERE-3052.sql @@ -0,0 +1,11 @@ +-- IDEMPIERE-3052 Advanced Search on doctype on invoices or orders shows all the doctypes + +update ad_column set AD_Val_Rule_ID=124 where AD_Column_ID=3493 and AD_Val_Rule_ID IS NULL +; + +update ad_column set AD_Val_Rule_ID=133 where AD_Column_ID=2172 and AD_Val_Rule_ID IS NULL +; + +SELECT register_migration_script('201603110209_IDEMPIERE-3052.sql') FROM dual +; +