I use [Mail.Mail] , and generate_template() function to get the template from 'xml' and use send() to send the mail ,that the sent message stores in 'message' menu but if i view the Recipients tab/pages that line is empty and red-envelope icon is not mentioned in that mail ,Even i use send_mail() method also not showing the red-envelope icon
This question has been flagged
1
Reply
1305
Views
Easy Peasy
render_ctx = dict ( self.env.context, partner=user.partner_id, menu_id=menu_id )
mail_template.with_context ( render_ctx ) .send_mail (
self.id,
force_send= True ,
email_layout_xmlid= 'mail.mail_notification_light' )
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
|
0
Jan 26
|
232 | ||
|
|
2
Feb 26
|
290 | ||
|
lost email template :(
Solved
|
|
2
Jan 26
|
641 | |
|
|
1
Dec 25
|
812 | ||
|
|
0
Nov 25
|
603 |