From da2b88bbbe16904cf86a94e4c8e6b12500c1b205 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Tue, 8 Dec 2015 18:10:35 +0100 Subject: [FIX] sale and others: email_from of templates --- addons/website_quote/data/website_quotation_data.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/website_quote/data/website_quotation_data.xml') diff --git a/addons/website_quote/data/website_quotation_data.xml b/addons/website_quote/data/website_quotation_data.xml index dd397b7ec3c..4de0cd21482 100644 --- a/addons/website_quote/data/website_quotation_data.xml +++ b/addons/website_quote/data/website_quotation_data.xml @@ -92,7 +92,7 @@ Sales Order - Send by Email (Online Quote) - ${(object.user_id.email or '')|safe} + ${(object.user_id.email and '%s <%s>' % (object.user_id.name, object.user_id.email) or '')|safe} ${object.company_id.name|safe} ${object.state in ('draft', 'sent') and 'Quotation' or 'Order'} (Ref ${object.name or 'n/a' }) ${object.partner_invoice_id.id} -- cgit v1.2.3