From 2dddcc0bfc2dca65e0d7385bb0a7d689fbfa6a27 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Sat, 1 Feb 2025 17:19:49 +0100 Subject: [PATCH] [FIX] l10n_es_aeat: Execute tests in post-install To avoid this warning: odoo.addons.account.models.chart_template: Incorrect usage of try_loading without a fully loaded registry. This could lead to issues. and intermittent errors in integration tests with some missing taxes. --- l10n_es_aeat/tests/test_l10n_es_aeat_mod_base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/l10n_es_aeat/tests/test_l10n_es_aeat_mod_base.py b/l10n_es_aeat/tests/test_l10n_es_aeat_mod_base.py index 64b3cffdb1a..8e8dd652be6 100644 --- a/l10n_es_aeat/tests/test_l10n_es_aeat_mod_base.py +++ b/l10n_es_aeat/tests/test_l10n_es_aeat_mod_base.py @@ -5,11 +5,12 @@ import logging -from odoo.tests import common +from odoo.tests import common, tagged _logger = logging.getLogger("aeat") +@tagged("post_install", "-at_install") class TestL10nEsAeatModBase(common.TransactionCase): accounts = {} # Set 'debug' attribute to True to easy debug this test