[REM] Removed reset_password notification

bzr revid: fme@openerp.com-20130313162651-614fv1kefo46jszw
This commit is contained in:
Fabien Meghazi 2013-03-13 17:26:51 +01:00
parent 00eb6837dd
commit 38e9b66af9
1 changed files with 1 additions and 10 deletions

View File

@ -269,16 +269,7 @@ class res_users(osv.Model):
if mail_state and mail_state['state'] == 'exception':
raise osv.except_osv(_("Cannot send email: no outgoing email server configured.\nYou can configure it under Settings/General Settings."), user.name)
else:
return {
'type': 'ir.actions.client',
'name': '_(Server Notification)',
'tag': 'action_notify',
'params': {
'title': 'Mail Sent to: %s' % user.name,
'text': 'You can reset the password by yourself using this <a href=%s>link</a>' % user.partner_id.signup_url,
'sticky': True,
}
}
return True
def create(self, cr, uid, values, context=None):
# overridden to automatically invite user to sign up