[FIX] queue_job: Migrations raising errors#356
Conversation
|
|
||
|
|
||
| def migrate(cr, version): | ||
| if not column_exists(cr, "queue_job", "record_ids"): |
There was a problem hiding this comment.
I don't think this column will exist ever. It seems a one2many/many2many field.
There was a problem hiding this comment.
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