diff options
| author | Denis Ledoux <dle@odoo.com> | 2017-01-10 16:43:50 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2017-01-10 16:49:21 +0100 |
| commit | fc813847d8cf3242a0202cff813c3466cd0a5e1f (patch) | |
| tree | 9f6becb0e9d8d8c9e90cf4786d2fda1a83b10970 /addons/web_editor/static/src/js/summernote.js | |
| parent | 23deeb187d358d66a87f024c495de06575d82967 (diff) | |
[FIX] account: wrong counterpart in invoice / out refund register payment
Revision 20935462a0cabeb45480ce70114ff2f4e91eaf79
introduces the below regression:
When registering a payment on a customer invoice refund
or a vendor bill, with a payment difference
e.g. payment of 101 for an invoice of 100
and marking the invoice as fully paid,
the counter part in the payment account move
were wrongly computed:
In those cases,
its the payment total minus the invoice residual total
that must be performed, and not the other way around.
This revision solves this, inspired on how
the payment difference is computed for display
in the wizard on how it was before the above revision,
in the method `_compute_payment_difference`
Fixes #15000
Diffstat (limited to 'addons/web_editor/static/src/js/summernote.js')
0 files changed, 0 insertions, 0 deletions
