Odoo Help

0

email_template, send_mail method

By
Anna Ostapenko
on 7/17/13, 12:50 PM 1,488 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.

Register

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)

Stats

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