← Back to team overview

openerp-india team mailing list archive

[Bug 1097271] Re: UnboundLocalError: local variable 'user_id' referenced before assignment

 

** Project changed: openerp-web => openobject-addons

-- 
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/1097271

Title:
  UnboundLocalError: local variable 'user_id' referenced before
  assignment

Status in OpenERP Addons (modules):
  New

Bug description:
  Go to "Human Resources/Time Tracking/My Current Timesheet", 
  try to change the employee, you will get following traceback:

  File "/home/odoo/runbot/static/openerp-dev-trunk-1453/server/openerp/addons/hr_timesheet_sheet/hr_timesheet_sheet.py", line 224, in onchange_employee_id
      return {'value': {'department_id': department_id, 'user_id': user_id,}}
  UnboundLocalError: local variable 'user_id' referenced before assignment

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