diff options
| author | Laurent Smet <las@odoo.com> | 2020-08-06 14:55:40 +0000 |
|---|---|---|
| committer | Laurent Smet <las@odoo.com> | 2020-08-06 21:28:00 +0000 |
| commit | 71aa83beedf8914629f13e2423d56dc694cd3515 (patch) | |
| tree | 7c7bff18747e9cf5cc9b503c32d71412ee0e7bb6 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 7742f0b42b860abad395cf1d89e0988581e32ef4 (diff) | |
[FIX] account: Fix traceback when refunding invoice with tax on_payment
- Create an invoice using a tax exigible on_payment.
- Refund the invoice with 'Full refund'.
=> Traceback: The lines are already reconciled.
Explanation:
Odoo tried to reconcile all lines having a reconcile account, including the one set on taxes.
- The first reconciliation is made on the receivable account triggering the cash basis entries that will be reconcile with the tax account.
- The second reconciliation fails because the account has been reconciled to the cash basis entries.
closes odoo/odoo#55594
X-original-commit: 01f2a4c3d95b4ea762ef34ae56ee717a9614cb1a
Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
