Browse Source
Merge pull request #1583 from Eficent/12.0-add-module_auto_update-migration-scripts
[12.0][ADD] module_auto_update: migration scripts to v12
pull/1593/merge
Pedro M. Baeza
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
25 additions and
0 deletions
-
module_auto_update/migrations/12.0.2.0.5/openupgrade_analysis.txt
-
module_auto_update/migrations/12.0.2.0.5/openupgrade_analysis_work.txt
-
module_auto_update/migrations/12.0.2.0.5/post-migration.py
|
|
@ -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', |
|
|
|
], |
|
|
|
) |