[FIX] l10n_it_edi: sent certified email without reply-to or return-path

Fine-tuning of 66c5053a3d1f8cb456929453a62869c95eccf86a

closes odoo/odoo#37246

X-original-commit: d79cf04977c3b5737d57c70b7c4e2ddc147ff7ef
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
This commit is contained in:
Jorge Pinna Puissant
2019-09-23 09:59:28 +00:00
parent c10899167a
commit df76747beb
+3 -3
View File
@@ -367,6 +367,6 @@ class IrMailServer(models.Model):
if self.env.context.get('wo_return_path') and headers:
headers.pop('Return-Path', False)
return super(IrMailServer, self).build_email(email_from, email_to, subject, body, email_cc, email_bcc, reply_to,
attachments, message_id, references, object_id, subtype, headers,
body_alternative, subtype_alternative)
return super(IrMailServer, self).build_email(email_from, email_to, subject, body, email_cc=email_cc, email_bcc=email_bcc, reply_to=reply_to,
attachments=attachments, message_id=message_id, references=references, object_id=object_id, subtype=subtype, headers=headers,
body_alternative=body_alternative, subtype_alternative=subtype_alternative)