Skip to content

Commit c946dad

Browse files
Merge pull request #84 from Escodoo/14.0-fix-epa_sale_crm_custom
[14.0][FIX] epa_sale_crm_custom: cuser_id in project.project for new Wizard Account Analytic
2 parents 2ee7704 + 1193958 commit c946dad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

epa_sale_crm_custom/wizard/crm_lead_analytic_account_wizard.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def action_confirm(self):
4343
self.env["project.project"].create(
4444
{
4545
"name": self.lead_id.alias_name,
46-
"user_id": self.lead_id.team_id.id,
46+
"user_id": self.lead_id.project_manager.user_id.id,
4747
"analytic_account_id": analytic_account.id,
4848
"partner_id": analytic_account.partner_id.id,
4949
"type_id": self.lead_id.type_id.id,

0 commit comments

Comments
 (0)