diff --git a/addons/mail/mail_thread.py b/addons/mail/mail_thread.py index 4d529e1162b..a66c1b97b6b 100644 --- a/addons/mail/mail_thread.py +++ b/addons/mail/mail_thread.py @@ -106,7 +106,7 @@ class mail_thread(osv.AbstractModel): email = "%s@%s" % (alias.alias_name, alias.alias_domain) return "%s %s" % (_("
Click here to add a new %s or send an email, for example, to: %s
") % (context.get('dynamic_help_documents', _("documents")), email, email), help or "") - if context.get('dynamic_help_documents', None) and help.find("oe_view_nocontent_create") == -1: + if context.get('dynamic_help_documents', None) and not help or help.find("oe_view_nocontent_create") == -1: return "%s %s" % (_("Click here to add a new %s
") % context.get('dynamic_help_documents', _("documents")), help or "") return help