[imp] use compiler-joining to break strings across multiple lines (instead of backslash-escaping newlines) otherwise can't indent following lines

bzr revid: xmo@tinyerp.com-20100126153558-hlqpo24ddr04lg50
This commit is contained in:
Xavier Morel
2010-01-26 16:35:58 +01:00
parent ed446050d7
commit 16c8091429
+6 -6
View File
@@ -331,12 +331,12 @@ class config_users(osv.osv_memory):
_inherit = ['res.users', 'res.config']
WELCOME_MAIL_SUBJECT = _(u"Welcome to OpenERP")
WELCOME_MAIL_BODY = _(u"An OpenERP account has been created for \
\"%(name)s\" on the server ???.\n\nYour login is %(login)s, \
you should ask your supervisor or system administrator if you \
haven't been given your password yet.\n\n\
If you aren't %(name)s, this email reached you by errorneously, \
please delete it.")
WELCOME_MAIL_BODY = _(u"An OpenERP account has been created for "
"\"%(name)s\" on the server ???.\n\nYour login is %(login)s, "
"you should ask your supervisor or system administrator if you "
"haven't been given your password yet.\n\n"
"If you aren't %(name)s, this email reached you errorneously, "
"please delete it.")
def _generate_signature(self, cr, name, email, context=None):
return _('--\n%(name)s %(email)s\n') % {