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

[18.0][FIX] base_cron_exclusion: remove numbercall condition from ir_cron select clause #3167

Merged
merged 2 commits into from
Jan 17, 2025

Conversation

xaviedoanhduy
Copy link

@xaviedoanhduy xaviedoanhduy commented Jan 17, 2025

@OCA-git-bot
Copy link
Contributor

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

Copy link
Contributor

@LoisRForgeFlow LoisRForgeFlow left a comment

Choose a reason for hiding this comment

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

numbercall part is correct, thank for fixing. For the other part, could you clarify why is it better self.env._ in this case?

Thanks!

@xaviedoanhduy
Copy link
Author

numbercall part is correct, thank for fixing. For the other part, could you clarify why is it better self.env._ in this case?

Thanks!

hi @LoisRForgeFlow, there is a quote in the Migration to 18.0 document (see: https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-18.0)

You can replace the call to translate a string () with self.env. for getting some performance improvement in some cases. See odoo/odoo#174844.

Copy link
Contributor

@LoisRForgeFlow LoisRForgeFlow left a comment

Choose a reason for hiding this comment

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

Thanks for the pointer 👌

@LoisRForgeFlow
Copy link
Contributor

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 18.0-ocabot-merge-pr-3167-by-LoisRForgeFlow-bump-patch, awaiting test results.

@OCA-git-bot
Copy link
Contributor

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

@OCA-git-bot OCA-git-bot merged commit 91cade0 into OCA:18.0 Jan 17, 2025
7 checks passed
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.

3 participants