Odoo Help


email_template, send_mail method

Anna Ostapenko
on 7/17/13, 12:50 PM 1,848 views

Hi! I have a question about send_mail method in email_template module.

 def send_mail(self, cr, uid, template_id, res_id, force_send=False, context=None):

What does this method expect to get as parameter under RES_ID? I try to call it with invoice_id:

.send_mail(cr,uid, template_inst, invoice_id, False, context=context)

but "recipients" stays empty.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 7/17/13, 12:50 PM
Seen: 1848 times
Last updated: 3/16/15, 8:10 AM