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);