details: https://code.openbravo.com/erp/devel/pi/rev/68dac1cb62fa changeset: 26132:68dac1cb62fa user: Asier Lostalé <asier.lostale <at> openbravo.com> date: Thu Mar 05 17:36:57 2015 +0100 summary: fixed bug 29140: selected credit selected is not used
When adding a payment the selected records for used credit were not taken into account. The problem was credit_to_use._selection property was always sent as [] after fix for issue #28712. The problem was in the overwritten selectionChanged js method for this grid, which should invoke super's selectionChanged but it didn't do it correctly. diffstat: modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addPayment.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r ec6a5bf6a16e -r 68dac1cb62fa modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addPayment.js --- a/modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addPayment.js Thu Mar 05 16:00:48 2015 +0000 +++ b/modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addPayment.js Thu Mar 05 17:36:57 2015 +0100 @@ -742,7 +742,7 @@ this.fireOnPause('selectionChangedCredit' + record.id, function () { OB.APRM.AddPayment.doSelectionChangedCredit(record, state, this.view); }, 200); - this.Super('selectionChangedCredit', arguments); + this.Super('selectionChanged', arguments); } }; ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Openbravo-commits mailing list Openbravo-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbravo-commits