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 bab6775 + 3c8168e commit dd28056Copy full SHA for dd28056
website_crm_quick_answer/migrations/17.0.1.0.0/pre-migration.py
@@ -0,0 +1,15 @@
1
+# Copyright 2025 Tecnativa - Pedro M. Baeza
2
+# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3
+
4
+from openupgradelib import openupgrade
5
6
7
+@openupgrade.migrate()
8
+def migrate(env, version):
9
+ # Rename the auto-generated XML-ID for the old ir.actions.server record, which is
10
+ # now explicit in data
11
+ mod = "website_crm_quick_answer"
12
+ openupgrade.rename_xmlids(
13
+ env.cr,
14
+ [(f"{mod}.automated_action_ir_actions_server", f"{mod}.send_email_action")],
15
+ )
0 commit comments