details: https://code.openbravo.com/erp/devel/pi/rev/29ee3d32bcfb changeset: 20055:29ee3d32bcfb user: David Miguelez <david.miguelez <at> openbravo.com> date: Fri Apr 05 12:29:27 2013 +0200 summary: Fixes Issue 23497. Adds Divide Up Reference in Ref_List.
details: https://code.openbravo.com/erp/devel/pi/rev/24b29d62b1e4 changeset: 20056:24b29d62b1e4 user: David Miguelez <david.miguelez <at> openbravo.com> date: Fri Apr 05 12:29:56 2013 +0200 summary: Fixes Issue 23491. Fixes problem when Writing-Off amount in Payment Proposal Pick and Execute. diffstat: modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-utilities.js | 2 +- src-db/database/sourcedata/AD_REF_LIST.xml | 12 ++++++++++ 2 files changed, 13 insertions(+), 1 deletions(-) diffs (34 lines): diff -r 072f7a780fde -r 24b29d62b1e4 modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-utilities.js --- a/modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-utilities.js Fri Apr 05 11:33:30 2013 +0200 +++ b/modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-utilities.js Fri Apr 05 12:29:56 2013 +0200 @@ -136,7 +136,7 @@ if (row) { row.difference = Number(outstanding.subtract(paidamount)); row.payment = Number(record.payment); - if (contextInfo.inplimitwriteoff !== "") { + if (contextInfo.inplimitwriteoff && contextInfo.inplimitwriteoff !== "") { var differencewriteoff = OB.Utilities.Number.JSToOBMasked((row.difference * contextInfo.inpfinaccTxnConvertRate), OB.Format.defaultNumericMask, OB.Format.defaultDecimalSymbol, OB.Format.defaultGroupingSymbol, OB.Format.defaultGroupingSize); if (differencewriteoff > contextInfo.inplimitwriteoff && record.writeoff === true) { isc.warn(OB.I18N.getLabel('APRM_NotAllowWriteOff')); diff -r 072f7a780fde -r 24b29d62b1e4 src-db/database/sourcedata/AD_REF_LIST.xml --- a/src-db/database/sourcedata/AD_REF_LIST.xml Fri Apr 05 11:33:30 2013 +0200 +++ b/src-db/database/sourcedata/AD_REF_LIST.xml Fri Apr 05 12:29:56 2013 +0200 @@ -8961,6 +8961,18 @@ <!--474F41E63A2B4EE6B1321CCB24C14929--> <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID> <!--474F41E63A2B4EE6B1321CCB24C14929--></AD_REF_LIST> +<!--47CA5ED6E40E4B27A0684ADDB04C5F85--><AD_REF_LIST> +<!--47CA5ED6E40E4B27A0684ADDB04C5F85--> <AD_REF_LIST_ID><![CDATA[47CA5ED6E40E4B27A0684ADDB04C5F85]]></AD_REF_LIST_ID> +<!--47CA5ED6E40E4B27A0684ADDB04C5F85--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID> +<!--47CA5ED6E40E4B27A0684ADDB04C5F85--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID> +<!--47CA5ED6E40E4B27A0684ADDB04C5F85--> <ISACTIVE><![CDATA[Y]]></ISACTIVE> +<!--47CA5ED6E40E4B27A0684ADDB04C5F85--> <VALUE><![CDATA[D]]></VALUE> +<!--47CA5ED6E40E4B27A0684ADDB04C5F85--> <NAME><![CDATA[Divide Up]]></NAME> +<!--47CA5ED6E40E4B27A0684ADDB04C5F85--> <DESCRIPTION><![CDATA[Divide Up]]></DESCRIPTION> +<!--47CA5ED6E40E4B27A0684ADDB04C5F85--> <AD_REFERENCE_ID><![CDATA[DBCF65339D0F4403822A8A7928533D6B]]></AD_REFERENCE_ID> +<!--47CA5ED6E40E4B27A0684ADDB04C5F85--> <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID> +<!--47CA5ED6E40E4B27A0684ADDB04C5F85--></AD_REF_LIST> + <!--497D2BEDD3E24B8E9B3206E465EE0A5E--><AD_REF_LIST> <!--497D2BEDD3E24B8E9B3206E465EE0A5E--> <AD_REF_LIST_ID><![CDATA[497D2BEDD3E24B8E9B3206E465EE0A5E]]></AD_REF_LIST_ID> <!--497D2BEDD3E24B8E9B3206E465EE0A5E--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID> ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html _______________________________________________ Openbravo-commits mailing list Openbravo-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbravo-commits