Skip to content

[15.0][FIX] l10n_es_vat_book: Take into account inactive taxes #4329

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

pedrobaeza
Copy link
Member

Backport of #4328

If calculating VAT books from 2024 with 5% taxes right now, they are not shown, as Odoo deactivated these tax templates after they were obsolete, and the computation doesn't take into account archived records.

The context variable makes that the map lines return all the mapped templates, no matter if they are archived or not.

@Tecnativa TT57462

If calculating VAT books from 2024 with 5% taxes right now, they are not
shown, as Odoo deactivated these tax templates after they were obsolete,
and the computation doesn't take into account archived records.

The context variable makes that the map lines return all the mapped
templates, no matter if they are archived or not.

TT57462
@pedrobaeza pedrobaeza added this to the 15.0 milestone Jul 31, 2025
@pedrobaeza
Copy link
Member Author

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 15.0-ocabot-merge-pr-4329-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 4dbd2a1 into OCA:15.0 Jul 31, 2025
7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 605f488. Thanks a lot for contributing to OCA. ❤️

@pedrobaeza pedrobaeza deleted the 15.0-fix-l10n_es_vat_book-inactive_taxes branch July 31, 2025 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants