summaryrefslogtreecommitdiff
path: root/doc/python3.rst
diff options
context:
space:
mode:
authoroco-odoo <oco@odoo.com>2021-01-06 12:29:48 +0000
committeroco-odoo <oco@odoo.com>2021-01-06 12:29:48 +0000
commit7ab2e41eb68a5edbf6a4d4fc66c57383b9710964 (patch)
tree24a451b6393faeea30b81854feb9ba3402f6ce56 /doc/python3.rst
parent2904a0b9bde8f34f6a4cde382631125cc69c36c6 (diff)
[FIX] account: reconciliation models: make auto_reconcile rules work properly with write-offs
- Create an invoice for 100 - Create a bank statement for 95 - Setup your reconciliation model so that it will match them and create a write-off for the remaining 5. Make it auto_reconciled. => Doing that, we expect the bank journal move to be created like this: - 100 on payable/receivable, reconciled with the invoice - 95 on the bank account - 5 on the write-off account This wasn't the case. Instead, Odoo created the following (correct from an accounting point of view, but weird): - 95 on payable/receivable, reconciled with the invoice - 5 on payable/receivable, not reconciled - 95 on the bank account - 5 on the write-off account => So an open balance of 5 was actually created. This was weird, and also caused an additional bug, as only the first payable/receivable line was reconciled with the invoice, making it only partially paid. This commit restores the expected behavior.
Diffstat (limited to 'doc/python3.rst')
0 files changed, 0 insertions, 0 deletions