Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][MIG] crm_project_create: Migration to 17.0 #602

Open
wants to merge 10 commits into
base: 17.0
Choose a base branch
from
Prev Previous commit
Next Next commit
REF: delete dependency
flotho committed Oct 20, 2024
commit 83ec256960c367a0d384b2a164d3f894b6bf1b4a
5 changes: 4 additions & 1 deletion crm_project_create/__manifest__.py
Original file line number Diff line number Diff line change
@@ -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",
7 changes: 1 addition & 6 deletions crm_project_create/wizards/crm_create_project.py
Original file line number Diff line number Diff line change
@@ -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 {