From cf052214bdc63abbaf53301610bb54d20c97fea4 Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Tue, 3 Dec 2013 15:25:54 +0100 Subject: [PATCH] [FIX]portal_sale: add the lang to the email templates (sale.order and account.invoice), for the email to be translated in the customer language (as this is the case for regular email templates from sale and account modules- bzr revid: dle@openerp.com-20131203142554-5yrp5o5wl382oyo3 --- addons/portal_sale/portal_sale_data.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/portal_sale/portal_sale_data.xml b/addons/portal_sale/portal_sale_data.xml index df57c724c32..f313e774fe0 100644 --- a/addons/portal_sale/portal_sale_data.xml +++ b/addons/portal_sale/portal_sale_data.xml @@ -13,6 +13,7 @@ ${(object.name or '').replace('/','_')}_${object.state == 'draft' and 'draft' or ''} + ${object.partner_id.lang} @@ -102,6 +103,7 @@ Invoice_${(object.number or '').replace('/','_')}_${object.state == 'draft' and 'draft' or ''} + ${object.partner_id.lang}