Odoo Help


This community 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.


email_template, send_mail method

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)


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