Tags

,


template = self.pool.get('ir.model.data').get_object(cr, uid, 'account', 'email_template_edi_invoice')

mail_id = self.pool.get('email.template').send_mail(cr, uid, template.id,invoice,force_send=True)

*invoice = Invoice ID
Advertisements