FIX email_template: Update help from lang field leading to confusion while creating...
authorFalcoBolger <vta@openerp.com>
Wed, 9 Jul 2014 08:33:01 +0000 (10:33 +0200)
committerMartin Trigaux <mat@openerp.com>
Thu, 10 Jul 2014 09:28:33 +0000 (11:28 +0200)
addons/email_template/email_template.py

index 30417ac..335b67f 100644 (file)
@@ -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"),