Tower: upload queue_job 16.0.2.12.0 (via marketplace)

This commit is contained in:
2026-04-27 08:46:48 +00:00
parent 999a996df8
commit 1f0cf23801

View File

@@ -0,0 +1,10 @@
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html)
from odoo.tools.sql import table_exists
def migrate(cr, version):
if table_exists(cr, "queue_job"):
# Drop index 'queue_job_identity_key_state_partial_index',
# it will be recreated during the update
cr.execute("DROP INDEX IF EXISTS queue_job_identity_key_state_partial_index;")