[FIX] account: enforce simple res.partner form on send receipt

Before this commit, when Sending the receipt by email (payments) the full partner form was displayed in case the partner didn't have an email set.

Now, just like invoices, the simpler version is displayed
This commit is contained in:
Lucas Perais (lpe)
2017-09-29 13:30:17 +02:00
parent 56800ad667
commit 2fcb780a01
@@ -38,6 +38,7 @@ ${user.signature | safe}
'default_use_template': True,
'default_res_id': active_id,
'default_template_id': ref('account.mail_template_data_payment_receipt'),
'force_email': True,
}"
/>
</data>