Adding time to tasks fails because of user_id

Bug #1210970 reported by Michael Karrer
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
HR - Timesheet Management
Incomplete
Undecided
Unassigned

Bug Description

If it try to enter time in a task directly this is no long possible because of:

Server Traceback (most recent call last):
  File "/opt/openerp/21069-fb-greenenergy/web/addons/web/session.py", line 89, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/opt/openerp/21069-fb-greenenergy/server/openerp/netsvc.py", line 292, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/opt/openerp/21069-fb-greenenergy/server/openerp/service/web_services.py", line 626, in dispatch
    res = fn(db, uid, *params)
  File "/opt/openerp/21069-fb-greenenergy/server/openerp/osv/osv.py", line 188, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/opt/openerp/21069-fb-greenenergy/server/openerp/osv/osv.py", line 131, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/opt/openerp/21069-fb-greenenergy/server/openerp/osv/osv.py", line 197, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/opt/openerp/21069-fb-greenenergy/server/openerp/osv/osv.py", line 185, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
TypeError: on_change_user_id() takes at least 6 arguments (5 given)

Also the user is no longer visible and therefore selectable in tasks !

Revision history for this message
Lorenzo Battistini (elbati) wrote :

Does this error involve a module of 'hr-timesheet' specifically?

Changed in hr-timesheet:
status: New → Incomplete
Revision history for this message
anj enerio (enerioangela) wrote :

I have the same problem. Now we cannot add time sheets entries.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.