Skip to content

Commit 286bace

Browse files
committed
[MIG] portal
1 parent 103302a commit 286bace

3 files changed

Lines changed: 33 additions & 1 deletion

File tree

docsource/modules180-190.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ Module coverage 18.0 -> 19.0
822822
+---------------------------------------------------+----------------------+-------------------------------------------------+
823823
| point_of_sale | | |
824824
+---------------------------------------------------+----------------------+-------------------------------------------------+
825-
| portal | | |
825+
| portal |Done | |
826826
+---------------------------------------------------+----------------------+-------------------------------------------------+
827827
| portal_rating | |No DB layout changes. |
828828
+---------------------------------------------------+----------------------+-------------------------------------------------+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Copyright 2026 Hunki Enterprises BV
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3+
4+
from openupgradelib import openupgrade
5+
6+
7+
@openupgrade.migrate()
8+
def migrate(env, version):
9+
openupgrade.delete_records_safely_by_xml_id(
10+
env, ["portal.mail_template_data_portal_welcome"]
11+
)
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---Models in module 'portal'---
2+
---Fields in module 'portal'---
3+
portal / gamification.badge.user / website_message_ids (one2many): NEW relation: mail.message
4+
portal / ir.actions.server / website_message_ids (one2many): NEW relation: mail.message
5+
portal / ir.cron / website_message_ids (one2many): NEW relation: mail.message
6+
portal / maintenance.equipment.category / website_message_ids (one2many): DEL relation: mail.message
7+
portal / maintenance.team / website_message_ids (one2many): NEW relation: mail.message
8+
9+
# NOTHING TO DO: these fields a new filter on message_ids introduced by portal
10+
11+
---XML records in module 'portal'---
12+
NEW ir.ui.view: portal.address_card
13+
NEW ir.ui.view: portal.address_footer
14+
NEW ir.ui.view: portal.address_form_fields
15+
NEW ir.ui.view: portal.address_list
16+
NEW ir.ui.view: portal.address_management
17+
NEW ir.ui.view: portal.my_addresses
18+
DEL ir.ui.view: portal.portal_my_details_fields
19+
DEL mail.template: portal.mail_template_data_portal_welcome (noupdate)
20+
21+
# DONE: deleted in post-migration

0 commit comments

Comments
 (0)