mirror of https://github.com/OCA/social.git
18 lines
453 B
Python
18 lines
453 B
Python
# Copyright 2025 Tecnativa - Víctor Martínez
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
|
|
|
from openupgradelib import openupgrade
|
|
|
|
_deleted_xml_records = [
|
|
"mail_activity_cancel_tracking.mt_activities_unlink",
|
|
"mail_activity_cancel_tracking.message_activity_unlink",
|
|
]
|
|
|
|
|
|
@openupgrade.migrate()
|
|
def migrate(env, version):
|
|
openupgrade.delete_records_safely_by_xml_id(
|
|
env,
|
|
_deleted_xml_records,
|
|
)
|