[MIG] mail_no_user_assign_notification: Migration to version 17.0

pull/1601/head
Carlos Lopez 2025-02-20 08:53:43 -05:00
parent eab7a4ec84
commit 2789a3048e
2 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,7 @@
"name": "Mail No user Assign Notification",
"author": "Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/social",
"version": "15.0.1.0.0",
"version": "17.0.1.0.0",
"depends": ["mail"],
"license": "AGPL-3",
"category": "Discuss",

View File

@ -14,7 +14,8 @@ class TestMailNoUserAssignNotification(common.TransactionCase):
"mail_no_user_assign_notification.no_user_assign_notification_models"
)
cls.icp.value = "res.partner"
# patch registry to simulate a ready environment so that _message_auto_subscribe_notify
# patch registry to simulate a ready environment
# so that _message_auto_subscribe_notify
# will be executed with the associated notification
cls.env.registry.ready = True