[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:
Yannick Tivisse
2017-12-28 11:01:42 +01:00
parent e42481fc25
commit bb5a631262
+1 -1
View File
@@ -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,
})