-
-
Notifications
You must be signed in to change notification settings - Fork 536
[14.0] Migration of queue_job #289
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
Conversation
The _slots attribute is no longer used. The field properties are defined as class attributes. See odoo/odoo#48705
Split one model per file, as advised in the contribution guide.
Now that the `@job` decorater is deleted, `identity_exact` is the only thing we may need to import from "job.py". Being able to import it from "odoo.addons.queue_job" is nicer than from "odoo.addons.queue_job.job".
|
Green! 🟢 |
simahawk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just code review. LG!
eantones
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for all the improvements. LGTM!
CasVissers-360ERP
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functional test! 👍
|
/ocabot merge nobump |
|
Hey, thanks for contributing! Proceeding to merge this for you. |
|
Congratulations, your PR was merged at 41f5d80. Thanks a lot for contributing to OCA. ❤️ |
|
/ocabot migration queue_job |
Hi,
Several PRs have already been opened for this migration: #263, #286, #288. Thanks a lot to @eantones, @sebastienbeau, @dnplkndll for them, as the result here is a joint work for the migration.
As the runbot build was still red on these PRs (the missing part was #286 (comment)), I opened yet a new one... As we switch the version, I took the opportunity to add a few more commits:
JobSerializedfield for 14.0 (fix the warnings in runbot)identity_exact(from odoo.addons.queue_job import identity_exact)Some commits have details in their body.
I hope the runbot build will now be green, and we'll be able to merge quickly 🤞.
@eantones, @sebastienbeau, @atchuthan, @CasVissers-360ERP, @t-900-a, @aliencrash, @dnplkndll, @bealdav as you all participated in the previous pull requests, in code, comments, tests, reviews, I thank you one more time for your help (it feels good to have your support), if you can review my last changes and put your approvals, we can merge this fast.