diff --git a/doc/source/modules130-140.rst b/doc/source/modules130-140.rst index 151660e40d16..ab9a7c6dcadb 100644 --- a/doc/source/modules130-140.rst +++ b/doc/source/modules130-140.rst @@ -90,7 +90,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |base_vat | | +--------------------------------------------+-------------------------------------------------+ -|board | | +|board | Done | +--------------------------------------------+-------------------------------------------------+ |bus | Nothing to do | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/board/14.0.1.0/pre-migration.py b/openupgrade_scripts/scripts/board/14.0.1.0/pre-migration.py new file mode 100644 index 000000000000..7b5b4c85fed6 --- /dev/null +++ b/openupgrade_scripts/scripts/board/14.0.1.0/pre-migration.py @@ -0,0 +1,13 @@ +# Copyright 2021 ForgeFlow S.L. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.set_xml_ids_noupdate_value( + env, + "board", + ["menu_board_my_dash"], + False, + ) diff --git a/openupgrade_scripts/scripts/board/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/board/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..db8cf0dde1df --- /dev/null +++ b/openupgrade_scripts/scripts/board/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,9 @@ +---Models in module 'board'--- +---Fields in module 'board'--- +---XML records in module 'board'--- +NEW ir.model.access: board.access_board_board_all +DEL ir.model.access: board.access_board_board all +# NOTHING TO DO: noupdate="0" records + +ir.ui.menu: board.menu_board_my_dash (noupdate switched) +# DONE: pre-migration: switched to noupdate = "0" \ No newline at end of file