-
-
Notifications
You must be signed in to change notification settings - Fork 702
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
Showing
3 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
addons/website_form/migrations/13.0.1.0/openupgrade_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,21 @@ | ||
---Models in module 'website_form'--- | ||
|
||
---Fields in module 'website_form'--- | ||
website_form / ir.model / website_form_key (char) : NEW | ||
# NOTHING TO DO: new field | ||
|
||
---XML records in module 'website_form'--- | ||
NEW ir.model: mail.model_mail_mail | ||
NEW ir.ui.view: website_form.assets_editor | ||
NEW ir.ui.view: website_form.assets_tests | ||
NEW ir.ui.view: website_form.contactus_form | ||
NEW ir.ui.view: website_form.ir_model_fields_view | ||
NEW ir.ui.view: website_form.ir_model_view | ||
NEW ir.ui.view: website_form.register_s_website_form | ||
NEW ir.ui.view: website_form.remove_external_snippets | ||
NEW ir.ui.view: website_form.s_website_form | ||
NEW ir.ui.view: website_form.snippet_options | ||
# NOTHING TO DO: new xmls | ||
|
||
NEW website.page: website_form.contactus_thanks [renamed from website_crm module] | ||
# DONE: pre-migration: try to rename |
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,12 @@ | ||
# Copyright 2021 Bloopark - Bishal Pun | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
from openupgradelib import openupgrade | ||
|
||
_xmlid_renames = [ | ||
('website_crm.contactus_thanks', 'website_form.contactus_thanks'), | ||
] | ||
|
||
|
||
@openupgrade.migrate() | ||
def migrate(env, version): | ||
openupgrade.rename_xmlids(env.cr, _xmlid_renames) |
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