Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
5174 Widoki

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.

Awatar
Odrzuć