Skip to content
Snippets Groups Projects
Commit 9823d2fc authored by Laurent Smet's avatar Laurent Smet
Browse files

[FIX] account: Prevent exchange diff entry with full refund


- create an invoice with a CABA tax
- full refund it using 'add credit note', 'cancel' mode.
=> No CABA entry generated but an exchange difference journal entry
has been created.

This is because the CABA entry is not generated in case of full refund
thanks to the 'move_reverse_cancel' context key. However, this key is not
preventing the generation of the exchange journal entry for CABA.

opw-3321897

closes odoo/odoo#121597

Signed-off-by: default avatarBrice Bartoletti (bib) <bib@odoo.com>
parent f8918c9e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment