Hello,
I have configure email in odoo 11 and working fine, but now i want to create a function in my code to sent email after request has been submitted to recipient.
Any Help?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello,
I have configure email in odoo 11 and working fine, but now i want to create a function in my code to sent email after request has been submitted to recipient.
Any Help?
Do you want to send an email from button click? If yes, use following code:
mail_template = self.env.ref('my_module.my_email_template') // Get Email Template by XML ID
mail_template.send_mail(record.id, force_send=True) // Send EmailBuat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
Why are the images in email not showing up in Gmail?
Diselesaikan
|
1
Des 23
|
9843 | ||
|
1
Jan 21
|
10727 | |||
|
1
Okt 20
|
8556 | |||
|
1
Mei 19
|
3670 | |||
|
0
Des 16
|
4613 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
Ok, thanks i will try this code
Hello Sudhir thanks a lot but how do i sent email from template as well?