Skip to content

Commit

Permalink
[OU-ADD] portal
Browse files Browse the repository at this point in the history
  • Loading branch information
marielejeune committed Jul 3, 2023
1 parent 0c75fef commit f50e18e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docsource/modules150-160.rst
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ Module coverage 15.0 -> 16.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/16.0.1.0/post-migration.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright 2023 ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from openupgradelib import openupgrade


@openupgrade.migrate()
def migrate(env, version):
openupgrade.load_data(env.cr, "portal", "16.0.1.0/noupdate_changes.xml")
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---Models in module 'portal'---
---Fields in module 'portal'---
portal / loyalty.card / website_message_ids (one2many): NEW relation: mail.message
# Nothing to do: loyalty is a new addon, and loyalty.card is a new model inheriting from mail.thread

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

# Done (post-migration): load data from noupdate_changes.xml

0 comments on commit f50e18e

Please sign in to comment.