Skip to content
Snippets Groups Projects
Commit 7fbb337e authored by Thomas Beckers's avatar Thomas Beckers
Browse files

[FIX] Ignore CABA moves when checking 'Reversed' state on invoice


To check if the state 'Reversed' should be set on an invoice. We checked that the full reconciliation moves
only contain the invoice, the reverse move and the potential exchange move. However, it's possible to have
also some CABA moves for the invoice and credit note when the tax used have a CABA transition account which
is reconcilable (eg. tax "IVA(16%) VENTAS"). So if this append the status 'Paid' will be set instead.

Now, we take into account those CABA moves and the status will be set to 'Reversed' accordingly.

opw-2976667

closes odoo/odoo#100380

Signed-off-by: default avatarOlivier Colson (oco) <oco@odoo.com>
parent d31d562a
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