mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-21 05:52:08 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions
|
|
@ -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;")
|
||||
Loading…
Add table
Add a link
Reference in a new issue