Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
5066 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ