From: FalcoBolger Date: Wed, 9 Jul 2014 08:33:01 +0000 (+0200) Subject: FIX email_template: Update help from lang field leading to confusion while creating... X-Git-Tag: 8.0.0~25^2~24^2~75^2~1 X-Git-Url: http://git.inspyration.org/?a=commitdiff_plain;h=e6b6392f3acc5e5d6dd4622dbd9870b0ba01bac1;p=odoo%2Fodoo.git FIX email_template: Update help from lang field leading to confusion while creating a template --- diff --git a/addons/email_template/email_template.py b/addons/email_template/email_template.py index 30417ac..335b67f 100644 --- a/addons/email_template/email_template.py +++ b/addons/email_template/email_template.py @@ -135,9 +135,9 @@ class email_template(osv.osv): help="Optional translation language (ISO code) to select when sending out an email. " "If not set, the english version will be used. " "This should usually be a placeholder expression " - "that provides the appropriate language code, e.g. " - "${object.partner_id.lang.code}.", - placeholder="${object.partner_id.lang.code}"), + "that provides the appropriate language, e.g. " + "${object.partner_id.lang}.", + placeholder="${object.partner_id.lang}"), 'user_signature': fields.boolean('Add Signature', help="If checked, the user's signature will be appended to the text version " "of the message"),