← Back to team overview

openerp-india team mailing list archive

[Bug 1104076] Re: [7.0]Exception on reset password (patch)

 

** Changed in: openobject-addons
   Importance: Undecided => Medium

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP Publisher's Warranty Team (openerp-opw)

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1104076

Title:
  [7.0]Exception on reset password (patch)

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  When resetting the password a test on context is missing in
  res_users.py of auth_signup

  Patch:

  === modified file 'auth_signup/res_users.py'
  --- auth_signup/res_users.py	2013-01-22 14:59:25 +0000
  +++ auth_signup/res_users.py	2013-01-24 14:09:39 +0000
  @@ -248,7 +248,7 @@
   
           # send email to users with their signup url
           template = False
  -        if context.get('create_user'):
  +        if context and context.get('create_user'):
               try:
                   template = self.pool.get('ir.model.data').get_object(cr, uid, 'auth_signup', 'set_password_email')
               except ValueError:

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1104076/+subscriptions


References