[FIX] mail: use email configured on template

Send an invoice by email but configure the sender email on the email
template. The `mail_template.email_from` field is ignored by the wizard
and the email is sent using the default `mail_message.email_from` field.

opw-2003562

closes odoo/odoo#34123

Signed-off-by: Julien Castiaux <Julien00859@users.noreply.github.com>
This commit is contained in:
Julien Castiaux
2019-06-14 12:15:01 +00:00
parent 4ea466863f
commit 7b0806b583
@@ -12,6 +12,7 @@
<field name="composition_mode" invisible="1"/>
<field name="composer_id" invisible="1"/>
<field name="invoice_ids" invisible="1"/>
<field name="email_from" invisible="1" />
<div name="option_print">
<field name="is_print" />
<b><label for="is_print"/></b>