summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
diff options
context:
space:
mode:
authorAndrea Grazioso (agr-odoo) <agr@odoo.com>2020-05-14 08:09:20 +0000
committerAndrea Grazioso (agr-odoo) <agr@odoo.com>2020-05-15 14:54:58 +0000
commit9277c1afe7c1d31a30cd0f43890044f13f9ee096 (patch)
tree9f299310e101dac01658c3385cc53d50c18ab59b /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
parentba7e7002f8ce06e759dda45457a85e92b8b9bf32 (diff)
[FIX] account: fix partner credit/debit computation
Add Total Receivable and Total Payable to contacts list view. Create Vendor Bill for a partner with $0 Receivable and Payable - the Payable amount is updated in the list view. Create an invoice for this partner - the Total Payable is changed to $0, and the Total Receivable is updated in the list view. Create a Vendor Bill for a partner having a Receivable amount - the Payable is not updated. This occured after commit 9920f20e4c7753bc17bea71dea3a90f7de687196 In a situation in which the lines retrieved from the db are arranged like |pid| type | val | |---|-----------|-----| | 10| payable| 500| | 14| receivable| 200| | 14| payable| 300| line 3 will cancel line 2 because partner credit will be set to false after the debit update. Fixing by checking that the same partner has not been processed yet opw-2250989 closes odoo/odoo#51351 X-original-commit: 0274d61a11c6f5220d6af37a38adafb3e5276224 Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com>
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions