Skip to content

Commit

Permalink
[FIX] l10n_es_aeat_sii_taxfree: Test inheritance
Browse files Browse the repository at this point in the history
Inherit from TestL10nEsAeatSiiBase instead of TestL10nEsAeatSii for not
repeating tests that have been already executed.
  • Loading branch information
pedrobaeza committed Mar 4, 2025
1 parent 26dcc06 commit aa1960e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# © 2023 FactorLibre - Alejandro Ji Cheung <[email protected]>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo.addons.l10n_es_aeat_sii_oca.tests.test_l10n_es_aeat_sii import (
TestL10nEsAeatSii,
TestL10nEsAeatSiiBase,
)


class TestL10nEsAeatSiiTaxfree(TestL10nEsAeatSii):
class TestL10nEsAeatSiiTaxfree(TestL10nEsAeatSiiBase):
def test_tax_free_sii(self):
"""Test that the invoice is correctly generated."""
fiscal_position = self.env["account.fiscal.position"].create(
Expand Down

0 comments on commit aa1960e

Please sign in to comment.