Skip to content

Commit 0ace933

Browse files
Merge pull request #5501 from hbrunn/19.0-initialize+openupgrade_framework+base+mail+dependencies+portal+dependencies
[19.0][MIG] portal
2 parents 5d6c3a4 + 286bace commit 0ace933

File tree

6 files changed

+63
-3
lines changed

6 files changed

+63
-3
lines changed

docsource/modules180-190.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Module coverage 18.0 -> 19.0
5656
+---------------------------------------------------+----------------------+-------------------------------------------------+
5757
| auth_password_policy_signup | | |
5858
+---------------------------------------------------+----------------------+-------------------------------------------------+
59-
| auth_signup | | |
59+
| auth_signup |Done | |
6060
+---------------------------------------------------+----------------------+-------------------------------------------------+
6161
| |new| auth_timeout | | |
6262
+---------------------------------------------------+----------------------+-------------------------------------------------+
@@ -230,7 +230,7 @@ Module coverage 18.0 -> 19.0
230230
+---------------------------------------------------+----------------------+-------------------------------------------------+
231231
| html_editor |Nothing to do | |
232232
+---------------------------------------------------+----------------------+-------------------------------------------------+
233-
| http_routing | | |
233+
| http_routing |Nothing to do | |
234234
+---------------------------------------------------+----------------------+-------------------------------------------------+
235235
| iap | |No DB layout changes. |
236236
+---------------------------------------------------+----------------------+-------------------------------------------------+
@@ -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: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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.load_data(env, "auth_signup", "19.0.1.0/noupdate_changes.xml")
10+
openupgrade.delete_record_translations(
11+
env.cr,
12+
"auth_signup",
13+
["mail_template_user_signup_account_created", "set_password_email"],
14+
["body_html"],
15+
)
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---Models in module 'auth_signup'---
2+
---Fields in module 'auth_signup'---
3+
---XML records in module 'auth_signup'---
4+
DEL ir.ui.view: auth_signup.alert_login_new_device
5+
NEW mail.template: auth_signup.portal_set_password_email (noupdate)
6+
7+
# NOTHING TO DO
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---Models in module 'http_routing'---
2+
---Fields in module 'http_routing'---
3+
---XML records in module 'http_routing'---
4+
NEW ir.ui.view: http_routing.415
5+
NEW ir.ui.view: http_routing.422
6+
NEW ir.ui.view: http_routing.4xx
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)