Skip to content

Commit

Permalink
[13.0][MIG] website_form
Browse files Browse the repository at this point in the history
  • Loading branch information
bishalgit committed Feb 16, 2021
1 parent abb3c84 commit 963a9ea
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 1 deletion.
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
12 changes: 12 additions & 0 deletions addons/website_form/migrations/13.0.1.0/pre-migration.py
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)
2 changes: 1 addition & 1 deletion odoo/openupgrade/doc/source/modules120-130.rst
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ missing in the new release are marked with |del|.
+----------------------------------------------+-------------------------------------------------+
|website_event_track | |
+----------------------------------------------+-------------------------------------------------+
|website_form | |
|website_form | Done |
+----------------------------------------------+-------------------------------------------------+
|website_form_project | |
+----------------------------------------------+-------------------------------------------------+
Expand Down

0 comments on commit 963a9ea

Please sign in to comment.