summaryrefslogtreecommitdiff
path: root/addons/account/data/payment_receipt_data.xml
diff options
context:
space:
mode:
authorLucas Perais (lpe) <lpe@odoo.com>2017-09-29 12:02:05 +0200
committerLucas Perais (lpe) <lpe@odoo.com>2017-09-29 13:30:17 +0200
commit2fcb780a01823468bf8062f8df09d8b89b957659 (patch)
tree15298011131a1ea8f33cdf546e20b37b6ec5a741 /addons/account/data/payment_receipt_data.xml
parent56800ad667f50533067b075892955c35e41e4605 (diff)
[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
Diffstat (limited to 'addons/account/data/payment_receipt_data.xml')
-rw-r--r--addons/account/data/payment_receipt_data.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/account/data/payment_receipt_data.xml b/addons/account/data/payment_receipt_data.xml
index 1ff394620a7..3190edfb151 100644
--- a/addons/account/data/payment_receipt_data.xml
+++ b/addons/account/data/payment_receipt_data.xml
@@ -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>