← Back to team overview

openerp-india team mailing list archive

[Bug 986668] Re: [6.1]Project Task delegating error

 

** Tags added: maintenance

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

Title:
  [6.1]Project Task delegating error

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  I'm trying to delegate project task in v6.1 using the bouton in the
  task tree view and I'm receiving the following error:

  Client Traceback (most recent call last):
    File "/usr/local/openerp/server/openerp/addons/web/common/http.py", line 180, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/usr/local/openerp/server/openerp/addons/web/controllers/main.py", line 1004, in call_button
      action = self.call_common(req, model, method, args, domain_id, context_id)
    File "/usr/local/openerp/server/openerp/addons/web/controllers/main.py", line 948, in call_common
      return self._call_kw(req, model, method, args, {})
    File "/usr/local/openerp/server/openerp/addons/web/controllers/main.py", line 962, in _call_kw
      return getattr(req.session.model(model), method)(*args, **kwargs)
    File "/usr/local/openerp/server/openerp/addons/web/common/openerplib/main.py", line 250, in proxy
      args, kw)
    File "/usr/local/openerp/server/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/usr/local/openerp/server/openerp/addons/web/common/http.py", line 611, in send
      raise fault

  
  Server Traceback (most recent call last):
    File "/usr/local/openerp/server/openerp/addons/web/common/http.py", line 592, in send
      result = openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/usr/local/openerp/server/openerp/netsvc.py", line 360, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/usr/local/openerp/server/openerp/service/web_services.py", line 572, in dispatch
      res = fn(db, uid, *params)
    File "/usr/local/openerp/server/openerp/osv/osv.py", line 167, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/usr/local/openerp/server/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/usr/local/openerp/server/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/usr/local/openerp/server/openerp/addons/audittrail/audittrail.py", line 495, in execute_cr
      return fct_src(cr, uid, model, method, *args)
    File "/usr/local/openerp/server/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/usr/local/openerp/server/openerp/addons/project/wizard/project_task_delegate.py", line 122, in delegate
      delegated_tasks = task_pool.do_delegate(cr, uid, [task_id], delegate_data, context=context)
    File "/usr/local/openerp/server/openerp/addons/project/project.py", line 944, in do_delegate
      self.do_pending(cr, uid, task.id, context=context)
    File "/usr/local/openerp/server/openerp/addons/project_mailgate/project_mailgate.py", line 102, in do_pending
      self.message_append(cr, uid, tasks, _('Pending'), context=context)
    File "/usr/local/openerp/server/openerp/addons/mail/mail_thread.py", line 202, in message_append
      if all(isinstance(thread_id, (int, long)) for thread_id in threads):
    File "/usr/local/openerp/server/openerp/osv/orm.py", line 484, in __iter__
      raise NotImplementedError("Iteration is not allowed on %s" % self)
  NotImplementedError: Iteration is not allowed on browse_record(project.task, 6)

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


References