Skip to content

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

Merged
OCA-git-bot merged 2 commits into
OCA:18.0from
xaviedoanhduy:18.0-fix-base_cron_exclusion
Jan 17, 2025
Merged

[18.0][FIX] base_cron_exclusion: remove numbercall condition from ir_cron select clause#3167
OCA-git-bot merged 2 commits into
OCA:18.0from
xaviedoanhduy:18.0-fix-base_cron_exclusion

Conversation

@xaviedoanhduy

@xaviedoanhduy xaviedoanhduy commented Jan 17, 2025

Copy link
Copy Markdown
Contributor

@OCA-git-bot

Copy link
Copy Markdown
Contributor

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

@LoisRForgeFlow LoisRForgeFlow left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor 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.

@LoisRForgeFlow LoisRForgeFlow left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

/ocabot merge patch

@OCA-git-bot

Copy link
Copy Markdown
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
Copy Markdown
Contributor

Congratulations, your PR was merged at 3900ffc. 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.

3 participants