hg merge release-2.1 (merge release2.1 into development)

This commit is contained in:
Carlos Ruiz 2015-06-12 19:26:01 -05:00
commit bacfd1bcb2
3 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,19 @@
SET SQLBLANKLINES ON
SET DEFINE OFF
-- Jun 6, 2015 2:29:41 PM CEST
-- IDEMPIERE-2663 Value of DatePrinted should not be copied when copying a record
UPDATE AD_Column SET IsAllowCopy='N',Updated=TO_DATE('2015-06-06 14:29:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3719
;
-- Jun 6, 2015 2:29:57 PM CEST
UPDATE AD_Column SET IsAllowCopy='N',Updated=TO_DATE('2015-06-06 14:29:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3808
;
-- Jun 6, 2015 2:30:12 PM CEST
UPDATE AD_Column SET IsAllowCopy='N',Updated=TO_DATE('2015-06-06 14:30:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3784
;
SELECT register_migration_script('201506061430_IDEMPIERE-2663.sql') FROM dual
;

View File

@ -0,0 +1,18 @@
-- Jun 6, 2015 2:29:41 PM CEST
-- IDEMPIERE-2663 Value of DatePrinted should not be copied when copying a record
UPDATE AD_Column SET IsAllowCopy='N',Updated=TO_TIMESTAMP('2015-06-06 14:29:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3719
;
-- Jun 6, 2015 2:29:57 PM CEST
UPDATE AD_Column SET IsAllowCopy='N',Updated=TO_TIMESTAMP('2015-06-06 14:29:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3808
;
-- Jun 6, 2015 2:30:12 PM CEST
UPDATE AD_Column SET IsAllowCopy='N',Updated=TO_TIMESTAMP('2015-06-06 14:30:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3784
;
SELECT register_migration_script('201506061430_IDEMPIERE-2663.sql') FROM dual
;

View File

@ -77,6 +77,11 @@ public class ValuePreference extends Window implements EventListener<Event>
*/
public static void start (Component ref, GridField mField, Object aValue)
{
if (aValue != null && aValue instanceof Boolean)
if ((Boolean) aValue)
aValue = 'Y';
else
aValue = 'N';
start (ref, mField, aValue, null);
} // start