Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Fixing error External ID not found on country from on click button #1716

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

valentinagiuliani-rapsodoo
Copy link
Contributor

[FIX] Fixing error "External ID not found in the system: product_country_restriction.product_country_restrictionact_window" on click button on country form

@OCA-git-bot
Copy link
Contributor

Hi @rousseldenis,
some modules you are maintaining are being modified, check this out!

@simoneversienti
Copy link

👍

@@ -43,7 +43,7 @@ def _compute_product_country_restriction_ids(self):

def action_view_country_restrictions(self):
self.ensure_one()
ref = "product_country_restriction." "product_country_restrictionact_window"
ref = "product_country_restriction." "product_country_restriction_act_window"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
ref = "product_country_restriction." "product_country_restriction_act_window"
action_dict = self.env["ir.actions.act_window"]._for_xml_id("product_country_restriction.product_country_restriction_act_window")

@rousseldenis
Copy link
Contributor

@valentinagiuliani-rapsodoo Could you check pre-commit ?

@rousseldenis
Copy link
Contributor

rousseldenis commented Sep 5, 2024

@valentinagiuliani-rapsodoo Could you merge the pre-commit commit with the preceding one?

@rousseldenis
Copy link
Contributor

@valentinagiuliani-rapsodoo Last thing : could you modify your commit messages to reflect module name like [IMP] product_country_restirction: (...)? Thanks

…d in the system: product_country_restriction.product_country_restrictionact_window" on click button on country form
@rousseldenis
Copy link
Contributor

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 16.0-ocabot-merge-pr-1716-by-rousseldenis-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 890d2c1 into OCA:16.0 Sep 19, 2024
8 of 9 checks passed
@OCA-git-bot
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants