-
-
Notifications
You must be signed in to change notification settings - Fork 534
[FIX] queue_job: Migrations raising errors #356
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
|
|
||
|
|
||
| def migrate(cr, version): | ||
| if not column_exists(cr, "queue_job", "record_ids"): |
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.
I don't think this column will exist ever. It seems a one2many/many2many field.
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.
Sure, the problem is that the table does not exist, modified checking the existance of the table
ae671fa to
cb99f27
Compare
cb99f27 to
3b3652e
Compare
|
This PR has the |
|
/ocabot merge nobump |
|
On my way to merge this fine PR! |
|
It looks like something changed on |
|
Congratulations, your PR was merged at 48a97e0. Thanks a lot for contributing to OCA. ❤️ |
When executing OpenUpgrade with a database that didn't have queue_job but a module change on 13.0 required it, several errors where raised (I don't know why, but OpenUpgrade executed the migrations). In order to solve them, I had to change the scripts applying this changes