[FIX] relation "utm_stage" does not exist [12.0->13.0]#2392
Closed
dennybiasiolli wants to merge 1 commit intoOCA:13.0from
Closed
[FIX] relation "utm_stage" does not exist [12.0->13.0]#2392dennybiasiolli wants to merge 1 commit intoOCA:13.0from
dennybiasiolli wants to merge 1 commit intoOCA:13.0from
Conversation
Member
|
There's another opened PR for this: #2372 Anyway, none of both solutions are my favorite, as it's touching the addon, not the scripts. I think that a creation of this column by SQL in pre will avoid the trigger of the default. Anyway, closing and let's continue in the other PR. |
Author
|
Thanks @pedrobaeza , I didn't think about adding the column in pre_migration, it's a good idea. I'll work on this and I will provide a new PR ASAP. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ref. #2317
Description of the issue/feature this PR addresses:
If only utm is installed in a v12 DB, the migration will fail with this error:
relation "utm_stage" does not exist--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr