Skip to content

Commit

Permalink
[FIX] Fix precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinagiuliani-rapsodoo committed Sep 5, 2024
1 parent da6b87d commit 7752cf6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion product_country_restriction/models/res_country.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ def _compute_product_country_restriction_ids(self):

def action_view_country_restrictions(self):
self.ensure_one()
action_dict = self.env["ir.actions.act_window"]._for_xml_id("product_country_restriction.product_country_restriction_act_window")
action_dict = self.env["ir.actions.act_window"]._for_xml_id(

Check warning on line 46 in product_country_restriction/models/res_country.py

View check run for this annotation

Codecov / codecov/patch

product_country_restriction/models/res_country.py#L46

Added line #L46 was not covered by tests
"product_country_restriction.product_country_restriction_act_window"
)
country_id = self.id
action_dict["domain"] = [
"|",
Expand Down

0 comments on commit 7752cf6

Please sign in to comment.