Skip to content

Commit

Permalink
[RFC] l10n_br_cte_spec: rename model spec_models to spec_mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelsavegnago committed Oct 28, 2024
1 parent e81bb43 commit dd821f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
File renamed without changes.
10 changes: 5 additions & 5 deletions l10n_br_cte_spec/tests/test_cte_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from odoo import api
from odoo.tests import TransactionCase

from ..models import spec_models
from ..models import spec_mixin

tz_datetime = re.compile(r".*[-+]0[0-9]:00$")

Expand Down Expand Up @@ -116,10 +116,10 @@ def match_or_create_m2o_fake(self, comodel, new_value, create_m2o=False):
return comodel.new(new_value).id


# spec_models.CteSpecMixin._update_cache = _update_cache
spec_models.CteSpecMixin.build_fake = build_fake
spec_models.CteSpecMixin.build_attrs_fake = build_attrs_fake
spec_models.CteSpecMixin.match_or_create_m2o_fake = match_or_create_m2o_fake
# spec_mixin.CteSpecMixin._update_cache = _update_cache
spec_mixin.CteSpecMixin.build_fake = build_fake
spec_mixin.CteSpecMixin.build_attrs_fake = build_attrs_fake
spec_mixin.CteSpecMixin.match_or_create_m2o_fake = match_or_create_m2o_fake


class CTeImportTest(TransactionCase):
Expand Down

0 comments on commit dd821f0

Please sign in to comment.