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] Stop using deprecated odoo.registry function. #726

Merged
merged 1 commit into from
Dec 27, 2024

Conversation

amh-mw
Copy link
Contributor

@amh-mw amh-mw commented Dec 23, 2024

This avoids a DeprecationWarning introduced in Odoo 17 by odoo/odoo#178784

WARNING odoo py.warnings: /mnt/extra-addons/oca/queue/queue_job/controllers/main.py:82: DeprecationWarning: Use directly odoo.modules.registry.Registry

This avoids a DeprecationWarning introduced in Odoo 17 by odoo/odoo#178784

> WARNING odoo py.warnings: /mnt/extra-addons/oca/queue/queue_job/controllers/main.py:82: DeprecationWarning: Use directly odoo.modules.registry.Registry
@OCA-git-bot
Copy link
Contributor

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

@pedrobaeza
Copy link
Member

Any reason to be in draft?

@amh-mw amh-mw marked this pull request as ready for review December 23, 2024 21:44
Copy link

@Kimkhoi3010 Kimkhoi3010 left a comment

Choose a reason for hiding this comment

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

LGTM

@sbidoul
Copy link
Member

sbidoul commented Dec 27, 2024

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 18.0-ocabot-merge-pr-726-by-sbidoul-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 229e20b into OCA:18.0 Dec 27, 2024
6 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

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

5 participants