diff --git a/crm_project_create/__manifest__.py b/crm_project_create/__manifest__.py index 418e4e0947d..4add8bbe572 100644 --- a/crm_project_create/__manifest__.py +++ b/crm_project_create/__manifest__.py @@ -13,7 +13,10 @@ "license": "LGPL-3", "application": False, "installable": True, - "depends": ["crm", "sale_project", "mail_message_destiny_link_template"], + "depends": [ + "crm", + "sale_project", + ], "data": [ "security/ir.model.access.csv", "wizards/crm_create_project.xml", diff --git a/crm_project_create/wizards/crm_create_project.py b/crm_project_create/wizards/crm_create_project.py index f2516724329..8b615e60025 100644 --- a/crm_project_create/wizards/crm_create_project.py +++ b/crm_project_create/wizards/crm_create_project.py @@ -25,12 +25,7 @@ def create_project(self): subtype_id=self.env.ref("mail.mt_note").id, author_id=self.env.user.partner_id.id, ) - self.lead_id.message_post_with_view( - "mail_message_destiny_link_template.message_destiny_link", - values={"self": self.lead_id, "destiny": self.lead_id.project_id}, - subtype_id=self.env.ref("mail.mt_note").id, - author_id=self.env.user.partner_id.id, - ) + def _prepare_create_project_values(self): return {