[FIX] sale_coupon: Display the text in mails from generated coupons
Purpose ======= The text displayed in mails for generated coupons sent to customers is not displayed anymore.
This commit is contained in:
@@ -37,7 +37,7 @@ class SaleCouponGenerate(models.TransientModel):
|
||||
})
|
||||
self.env['mail.mail'].create({
|
||||
'subject': subject,
|
||||
'body': body,
|
||||
'body_html': body,
|
||||
'email_from': self.env.user.email or '',
|
||||
'email_to': partner.email,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user