Skip to content

Conversation

@guewen
Copy link
Member

@guewen guewen commented Nov 28, 2020

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:

  • Adapt the JobSerialized field for 14.0 (fix the warnings in runbot)
  • Remove migration scripts for 13.0
  • Split the models and views in individual files
  • Fixed a few errors detected by manual testing
  • Add import shortcut for 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.

sebastienbeau and others added 10 commits November 20, 2020 15:44
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".
@guewen
Copy link
Member Author

guewen commented Nov 28, 2020

Green! 🟢

Copy link
Contributor

@simahawk simahawk left a 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!

Copy link
Contributor

@eantones eantones left a 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!

Copy link

@CasVissers-360ERP CasVissers-360ERP left a comment

Choose a reason for hiding this comment

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

Functional test! 👍

@guewen
Copy link
Member Author

guewen commented Nov 30, 2020

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 14.0-ocabot-merge-pr-289-by-guewen-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit a23a30a into OCA:14.0 Nov 30, 2020
@OCA-git-bot
Copy link
Contributor

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

@simahawk
Copy link
Contributor

/ocabot migration queue_job

@OCA-git-bot OCA-git-bot added this to the 14.0 milestone May 25, 2022
@OCA-git-bot OCA-git-bot mentioned this pull request May 25, 2022
9 tasks
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.

6 participants