Skip to content

Commit

Permalink
REF: delete dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
flotho committed Oct 20, 2024
1 parent 737db8b commit 83ec256
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
5 changes: 4 additions & 1 deletion crm_project_create/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
7 changes: 1 addition & 6 deletions crm_project_create/wizards/crm_create_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 83ec256

Please sign in to comment.