We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ace5606 + 6968020 commit bf0d65eCopy full SHA for bf0d65e
addons/utm/migrations/13.0.1.0/pre-migration.py
@@ -1,6 +1,7 @@
1
# Copyright 2020 ForgeFlow <http://www.forgeflow.com>
2
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
3
from openupgradelib import openupgrade
4
+from odoo.tools import create_model_table
5
6
_model_renames = [
7
('mail.mass_mailing.stage', 'utm.stage'),
@@ -63,3 +64,5 @@ def migrate(env, version):
63
64
],
65
False,
66
)
67
+ else:
68
+ create_model_table(cr, "utm_stage", "Campaign Stage")
0 commit comments