Skip to content

Commit

Permalink
[FIX]maintenance_ux:change email_to
Browse files Browse the repository at this point in the history
closes #188

Signed-off-by: Matias Velazquez <mav@adhoc.com.ar>
  • Loading branch information
jcadhoc committed Mar 21, 2024
1 parent acded81 commit fc2e609
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions maintenance_ux/models/maintenance_request.py
Expand Up @@ -16,6 +16,6 @@ def action_send_rating(self):
order.rating_send_request(rating_template, force_send=True)

def _rating_get_partner(self):
if self.user_id.partner_id:
return self.user_id.partner_id
if self.create_uid.partner_id:
return self.create_uid.partner_id
return self.env['res.partner']

0 comments on commit fc2e609

Please sign in to comment.