diff options
| author | Andrea Grazioso (agr-odoo) <agr@odoo.com> | 2020-03-11 07:55:47 +0000 |
|---|---|---|
| committer | Andrea Grazioso (agr-odoo) <agr@odoo.com> | 2020-03-11 16:15:22 +0000 |
| commit | 29e0227081ccf51f1a89305dc52f2470d4279b2c (patch) | |
| tree | 40221f750c5ff1e7cd84aea41f70e7ad66165ff2 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 141b54bb8e845e12fb6c88c69bd0a0edc71318e4 (diff) | |
[FIX] account: avoid double unlinking
With l10n_mx installed:
- Check in the settings that cash basis option is activated, and enabled
on a Purchase Tax (example : IVA(16%) COMPRAS)
- Create a vendor bill with this tax, validate it and
register payment.
- Create a credit note to this invoice, validate and register payment.
- Cancel the credit note
Error will occur, a record is already deleted.
This occur because the canceling action recursively find every related
move to delete, but in the process an account.full.reconcile is going to
be unlinked twice: a check on reverse the exchange rate entry will
trigger the error because the record is already deleted
opw-2199093
closes odoo/odoo#47432
X-original-commit: a230690d947be2095ad1ec7ccca170f9faa222dc
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
