Skip to content

Conversation

@AungKoKoLin1997
Copy link
Contributor

@AungKoKoLin1997 AungKoKoLin1997 commented Jul 23, 2024

Comment on lines 21 to 22
if lead.partner_id.role_ids:
lead.role_ids = lead.partner_id.role_ids
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if lead.partner_id.role_ids:
lead.role_ids = lead.partner_id.role_ids
lead.role_ids = lead.partner_id.role_ids

)

@api.depends("partner_id")
def _compute_role(self):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
def _compute_role(self):
def _compute_role_ids(self):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants