← Back to team overview

openerp-india team mailing list archive

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

 

Hello,

It has been fixed in to https://code.launchpad.net/~openerp-dev
/openobject-addons/trunk-bug-1097271-cga

Revision No:8498
Revision ID:cga@xxxxxxxxxxx-20130110055516-f8lqndhtyc3utz20

It will be merged soon.

Thanks.

** Branch linked: lp:~openerp-dev/openobject-addons/trunk-
bug-1097271-cga

** Changed in: openobject-addons
       Status: In Progress => Fix Committed

-- 
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:
  [Trunk/7.0]UnboundLocalError: local variable 'user_id' referenced
  before assignment

Status in OpenERP Addons (modules):
  Fix Committed

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