Skip to content
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/modules150-160.rst
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,7 @@ Module coverage 15.0 -> 16.0
+-------------------------------------------------+----------------------+-------------------------------------------------+
| |new| website_payment_paypal | | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
| website_profile | | |
| website_profile | Done | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
| website_sale | | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2023 Tecnativa - Víctor Martínez
# Copyright 2024 Tecnativa - Pedro M. Baeza
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openupgradelib import openupgrade

_translations_to_delete = [
"name",
"description",
]


@openupgrade.migrate()
def migrate(env, version):
openupgrade.load_data(env.cr, "website_profile", "16.0.1.0/noupdate_changes.xml")
openupgrade.delete_record_translations(
env.cr,
"website_profile",
["validation_email"],
["name", "description"],
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---Models in module 'website_profile'---
---Fields in module 'website_profile'---
---XML records in module 'website_profile'---
NEW ir.model.access: website_profile.gamification_karma_rank_access_restricted_editor
DEL ir.model.access: website_profile.gamification_karma_rank_access_website_publisher
# NOTHING TO DO: noupdate=0 handled by ORM