summaryrefslogtreecommitdiff
path: root/addons/mail/static/src
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2015-11-26 11:55:00 +0100
committerNicolas Martinelli <nim@odoo.com>2015-11-26 12:19:41 +0100
commitbef0da3a7aff74fecce7b418164257ad0cd37c4d (patch)
tree6f38171fa58bd172673602d2d663403665e4c902 /addons/mail/static/src
parent5b82c9ccb400c93a2a405a69786dbca148141526 (diff)
[FIX] account: Total Receivable and Payable
The fields Total Receivable and Payable are calculated as debit-credit. However, this leads to a wrong computation if, for example, a payment is used to pay several invoices. For example: - Create a customer invoice of 2500 USD - Register a payment of 3000 USD The Total Receivable will be 3000 USD instead of 500 USD. At the same time, this commits changes the sign of the field. The help depicts the Total Receivable field as "Total amount this customer owes you". Therefore, one would expect that if the customer owes 250 USD, the Total Receivable is 250 USD, not -250 USD. The same logic applies to Total Payable. opw-657053
Diffstat (limited to 'addons/mail/static/src')
0 files changed, 0 insertions, 0 deletions