OCA / l10n-spain

Odoo Spain Localization
https://www.aeodoo.org/estado-localizacion
GNU Affero General Public License v3.0
292 stars 520 forks source link

[16.0][FIX] l10n_es_aeat: Take into account inactive tax templates #3745

Closed pedrobaeza closed 2 months ago

pedrobaeza commented 2 months ago

Forward-port of #3744

Since odoo/odoo#179797, IVA 5% taxes templates are deactivated, and if you calculate an AEAT report containing them, they are not included as not being included in the m2m field.

This commit takes this situation into account.

@Tecnativa TT51059

pedrobaeza commented 2 months ago

/ocabot merge patch

OCA-git-bot commented 2 months ago

What a great day to merge this nice PR. Let's do it! Prepared branch 16.0-ocabot-merge-pr-3745-by-pedrobaeza-bump-patch, awaiting test results.

OCA-git-bot commented 2 months ago

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