Skip to content

Commit

Permalink
Merge PR #4467 into 17.0
Browse files Browse the repository at this point in the history
Signed-off-by legalsylvain
  • Loading branch information
OCA-git-bot committed Nov 2, 2024
2 parents 8233a8d + 1b699e0 commit d0dba6e
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docsource/modules160-170.rst
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ Module coverage 16.0 -> 17.0
+---------------------------------------------------+----------------------+-------------------------------------------------+
| point_of_sale | | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| portal | | |
| portal |Done | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| portal_rating | |No DB layout changes. |
+---------------------------------------------------+----------------------+-------------------------------------------------+
Expand Down
9 changes: 9 additions & 0 deletions openupgrade_scripts/scripts/portal/17.0.1.0/post-migration.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright 2024 Viindoo Technology Joint Stock Company (Viindoo)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from openupgradelib import openupgrade


@openupgrade.migrate()
def migrate(env, version):
openupgrade.load_data(env, "portal", "17.0.1.0/noupdate_changes.xml")
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---Models in module 'portal'---
---Fields in module 'portal'---
portal / discuss.channel / website_message_ids (one2many): NEW relation: mail.message
portal / hr.contract / website_message_ids (one2many): module is now 'hr_contract' ('portal')
portal / hr.leave / website_message_ids (one2many): module is now 'hr_holidays' ('portal')
portal / hr.leave.allocation / website_message_ids (one2many): module is now 'hr_holidays' ('portal')
portal / mail.channel / website_message_ids (one2many): DEL relation: mail.message
portal / note.note / website_message_ids (one2many): DEL relation: mail.message
portal / product.pricelist / website_message_ids (one2many): NEW relation: mail.message
# NOTHING TO DO

---XML records in module 'portal'---
NEW ir.ui.view: portal.message_document_unfollowed
NEW ir.ui.view: portal.side_content
NEW ir.ui.view: portal.user_sign_in_redirect
# NOTHING TO DO

0 comments on commit d0dba6e

Please sign in to comment.