[FIX] Add migration scripts to v12
parent
cd32a32261
commit
acd35dc929
|
@ -0,0 +1,5 @@
|
|||
---Fields in module 'module_auto_update'---
|
||||
---XML records in module 'module_auto_update'---
|
||||
NEW ir.actions.server: module_auto_update.ir_module_module_upgrade_changed_checksum
|
||||
DEL ir.cron: module_auto_update.module_check_upgrades_cron (noupdate)
|
||||
NEW ir.ui.menu: module_auto_update.menu_ir_module_module_upgrade_changed_checksum
|
|
@ -0,0 +1,8 @@
|
|||
---Fields in module 'module_auto_update'---
|
||||
---XML records in module 'module_auto_update'---
|
||||
NEW ir.actions.server: module_auto_update.ir_module_module_upgrade_changed_checksum
|
||||
NEW ir.ui.menu: module_auto_update.menu_ir_module_module_upgrade_changed_checksum
|
||||
# NOTHING TO DO
|
||||
|
||||
DEL ir.cron: module_auto_update.module_check_upgrades_cron (noupdate)
|
||||
# DONE: pots-migration: deleted xmlid safely
|
|
@ -0,0 +1,12 @@
|
|||
# Copyright 2019 Eficent <http://www.eficent.com>
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
from openupgradelib import openupgrade
|
||||
|
||||
|
||||
@openupgrade.migrate()
|
||||
def migrate(env, version):
|
||||
openupgrade.delete_records_safely_by_xml_id(
|
||||
env, [
|
||||
'module_auto_update.module_check_upgrades_cron',
|
||||
],
|
||||
)
|
Loading…
Reference in New Issue