From 16ccf6773a9b65e34eb5bc11bdf29460eb68a80b Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 26 Jun 2013 13:40:45 +0200 Subject: [PATCH] [FIX] account_credit_control: use of deprecated field user_email causes permission error in multicompany setting fixed by using the correct 'email' field in the template --- account_credit_control/data.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_credit_control/data.xml b/account_credit_control/data.xml index 8b3f1b772..9d284fa75 100644 --- a/account_credit_control/data.xml +++ b/account_credit_control/data.xml @@ -57,7 +57,7 @@

Thank you for choosing ${object.company_id.name}!

-- more info here -- -

${object.user_id.name} ${object.user_id.user_email and '<%s>'%(object.user_id.user_email) or ''}
+

${object.user_id.name} ${object.user_id.email and '<%s>'%(object.user_id.email) or ''}
${object.company_id.name}
% if object.company_id.street: ${object.company_id.street or ''}