From 2395338c24ac968c74258f6389e81eaceb2acd49 Mon Sep 17 00:00:00 2001 From: Elaine Tan Date: Thu, 23 Jan 2014 14:25:40 +0800 Subject: [PATCH] 1003322 2Pack enhancement for TrekGlobal Extension Development - Inactive 'Update System Maintained Application Dictionary' field from 'Pack In' window - Default trum to false for User Level --- migration/i2.0/oracle/201401231413_1003322.sql | 10 ++++++++++ migration/i2.0/postgresql/201401231413_1003322.sql | 7 +++++++ .../src/org/adempiere/pipo2/PoExporter.java | 2 +- 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 migration/i2.0/oracle/201401231413_1003322.sql create mode 100644 migration/i2.0/postgresql/201401231413_1003322.sql diff --git a/migration/i2.0/oracle/201401231413_1003322.sql b/migration/i2.0/oracle/201401231413_1003322.sql new file mode 100644 index 0000000000..825b4a4d0a --- /dev/null +++ b/migration/i2.0/oracle/201401231413_1003322.sql @@ -0,0 +1,10 @@ +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- Jan 23, 2014 12:54:26 PM SGT +-- 1003322 2Pack enhancement for Extension Development +UPDATE AD_Field SET IsActive='N',Updated=TO_DATE('2014-01-23 12:54:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50152 +; + +SELECT register_migration_script('201401231413_1003322.sql') FROM dual +; \ No newline at end of file diff --git a/migration/i2.0/postgresql/201401231413_1003322.sql b/migration/i2.0/postgresql/201401231413_1003322.sql new file mode 100644 index 0000000000..ce9018c893 --- /dev/null +++ b/migration/i2.0/postgresql/201401231413_1003322.sql @@ -0,0 +1,7 @@ +-- Jan 23, 2014 12:54:26 PM SGT +-- 1003322 2Pack enhancement for Extension Development +UPDATE AD_Field SET IsActive='N',Updated=TO_TIMESTAMP('2014-01-23 12:54:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50152 +; + +SELECT register_migration_script('201401231413_1003322.sql') FROM dual +; \ No newline at end of file diff --git a/org.adempiere.pipo/src/org/adempiere/pipo2/PoExporter.java b/org.adempiere.pipo/src/org/adempiere/pipo2/PoExporter.java index ea01ee7c68..fbe671655d 100644 --- a/org.adempiere.pipo/src/org/adempiere/pipo2/PoExporter.java +++ b/org.adempiere.pipo/src/org/adempiere/pipo2/PoExporter.java @@ -31,7 +31,7 @@ public class PoExporter { try { //default trim to false for print item label since trailing space is commonly use //for formatting purpose - if (qName.equalsIgnoreCase("PrintName")) { + if (qName.equalsIgnoreCase("PrintName") || qName.equalsIgnoreCase("UserLevel")) { atts.addAttribute("", "", "trim", "CDATA", "false"); } transformerHandler.startElement("", "", qName, atts);