diff options
| author | Goffin Simon <sig@odoo.com> | 2018-02-21 10:26:42 +0100 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2018-02-22 11:52:52 +0100 |
| commit | 0da5d63f526398022f918bcfdf082c75f26a8b2e (patch) | |
| tree | cd9582790c283d68e3fbbf8c5449226702e0f7ec /addons/web/static/src/js/services | |
| parent | 075f13ac63ec27fc5d7d86879a285b95c4dc38d8 (diff) | |
[FIX] account: Register a partial payment as fully paid
Due to this commit: 3267e765209ee7a19b327620622fa1b5126eed00
Steps to reproduce the bug:
When registering a payment for a customer invoice in an other currency than
the company currency and marking it as fully paid, it raised an error:
"Wrong credit or debit value in accounting entry !".
Reason: counterpart_aml['debit'] and counterpart_aml['credit'] were both incremented
and it violated the constraint credit*debit=0
opw:815465
Diffstat (limited to 'addons/web/static/src/js/services')
0 files changed, 0 insertions, 0 deletions
