Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[15.0][MIG] portal: migration script #3464

Merged
merged 1 commit into from
Jul 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docsource/modules140-150.rst
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ Module coverage 14.0 -> 15.0
+-------------------------------------------------+----------------------+-------------------------------------------------+
| point_of_sale | | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
| portal | | |
| portal | Done | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
| portal_rating | | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
Expand Down
13 changes: 13 additions & 0 deletions openupgrade_scripts/scripts/portal/15.0.1.0/post-migration.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from openupgradelib import openupgrade


@openupgrade.migrate()
def migrate(env, version):
openupgrade.load_data(env.cr, "portal", "15.0.1.0/noupdate_changes.xml")
openupgrade.delete_record_translations(
env.cr,
"portal",
[
"mail_template_data_portal_welcome",
],
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---Models in module 'portal'---
---Fields in module 'portal'---
portal / adyen.account / website_message_ids (one2many): DEL relation: mail.message
portal / crm.team.member / website_message_ids (one2many): NEW relation: mail.message
# NOTHING TO DO

---XML records in module 'portal'---
NEW ir.actions.server: portal.partner_wizard_action_create_and_open
DEL ir.ui.view: portal._assets_frontend_helpers
DEL ir.ui.view: portal._assets_primary_variables
DEL ir.ui.view: portal.assets_frontend
DEL ir.ui.view: portal.assets_tests
# NOTHING TO DO