- message = '''%s has joined %s! Welcome in OpenERP !
-
-Your homepage is a summary of messages you received and key information about documents you follow.
-
-The top menu bar contains all applications you installed. You can use this <i>Settings</i> menu to install more applications, activate others features or give access to new users.
-
-To setup your preferences (name, email signature, avatar), click on the top right corner.''' % (user.name, company_name)
- return self.pool.get('res.partner').message_append_note(cr, uid, [user.partner_id.id],
- subject='Welcome to OpenERP', body=message, type='comment', content_subtype='html', context=context)
+ subject = '''%s has joined %s.''' % (user.name, company_name)
+ body = '''Welcome to OpenERP !'''
+ return self.pool.get('res.partner').message_append_note(cr, user.id, [user.partner_id.id],
+ subject=subject, body=body, type='comment', content_subtype='html', context=context)