[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

This commit is contained in:
unknown
2013-06-26 13:40:45 +02:00
committed by Yannick Vaucher
parent 1e3098232f
commit 16ccf6773a

View File

@@ -57,7 +57,7 @@
<p>Thank you for choosing ${object.company_id.name}! </p>
-- more info here --
<p>${object.user_id.name} ${object.user_id.user_email and '<%s>'%(object.user_id.user_email) or ''}<br/>
<p>${object.user_id.name} ${object.user_id.email and '<%s>'%(object.user_id.email) or ''}<br/>
${object.company_id.name}<br/>
% if object.company_id.street:
${object.company_id.street or ''}<br/>