-
-
Notifications
You must be signed in to change notification settings - Fork 700
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
02e7374
commit 7579055
Showing
3 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
openupgrade_scripts/scripts/board/14.0.1.0/pre-migration.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Copyright 2021 ForgeFlow S.L. <https://www.forgeflow.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.set_xml_ids_noupdate_value( | ||
env, | ||
"board", | ||
["menu_board_my_dash"], | ||
False, | ||
) |
9 changes: 9 additions & 0 deletions
9
openupgrade_scripts/scripts/board/14.0.1.0/upgrade_analysis_work.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |