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.
1 parent 2304328 commit fe3fc86Copy full SHA for fe3fc86
1 file changed
queue_job/migrations/10.0.1.0.0/pre-migration.py
@@ -0,0 +1,15 @@
1
+# -*- coding: utf-8 -*-
2
+# Copyright 2017 Tecnativa - Vicent Cubells
3
+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
4
+
5
6
+def migrate(cr, version):
7
+ if not version:
8
+ return
9
+ # In order to migrate connector from v. 9.0 to v. 10.0, we need to set
10
+ # connector module state to 'to upgrade'
11
+ cr.execute("""
12
+ UPDATE ir_module_module
13
+ SET state='to upgrade'
14
+ WHERE name='connector'
15
+ """)
0 commit comments