diff options
| author | Xavier Morel <xmo@odoo.com> | 2017-04-21 17:21:21 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2017-04-24 11:58:42 +0200 |
| commit | 577d9863919d5b1a9d8a21db81123f90949e1342 (patch) | |
| tree | 6a120b481f38ff027a5071b630f0e7a0b963be7a /doc/reference/forms | |
| parent | 5b502841276dda0dbc0161fd0fa080d1790086bb (diff) | |
[FIX] account: subtract refund amount from "awaiting payments" total
Currently the amounts of all invoices (linked to sale or purchase
journals) is summed regardless of these invoices being bills or
refunds, this means e.g. if you create an invoice for 1000 then a
refund for 500 on this invoice, the dashboard will display an
"awaiting payment" total of 1500 which while technically correct is
not really logical or helpful from a user's POV.
Fix summation to take in account the invoice type (invoice or refund)
and remove refund amount from the total amount.
Intent validated by @lap-odoo, also not ignoring or removing refunds
from count to avoid situations like "0 Awaiting Payments [for] $-1200"
which would be really strange.
OPW-728860
Diffstat (limited to 'doc/reference/forms')
0 files changed, 0 insertions, 0 deletions
