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.
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
|Asked: 7/17/13, 12:50 PM|
|Seen: 1001 times|
|Last updated: 3/16/15, 8:10 AM|