← Back to team overview

openerp-india team mailing list archive

[Bug 911372] [NEW] Module project_issue is broken - cannot view or change issue categories

 

Public bug reported:

Hi,

The problem is simple:
When trying to view the issues categories under project menu an error is raised (pasted at the end of this message)

I'm using the current trunk version of OpenERP 6.1.
Scenario: fresh installation with 'project APP' & 'project_issue module'
OS: Ubuntu 11.10
Affected module: project_issue
Client: new webclient
Error: ValueError: Invalid field 'model' in domain expression [('model', '=', 'project.issue')]


Client Traceback (most recent call last):
  File "/opt/openerp/web/addons/web/common/http.py", line 175, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/opt/openerp/web/addons/web/controllers/main.py", line 720, in search_read
    return self.do_search_read(req, model, fields, offset, limit, domain, sort)
  File "/opt/openerp/web/addons/web/controllers/main.py", line 745, in do_search_read
    ids = Model.search(domain, 0, False, sort or False, context)
  File "/opt/openerp/web/addons/web/common/openerplib/main.py", line 430, in proxy
    *args)
  File "/opt/openerp/web/addons/web/common/openerplib/main.py", line 306, in proxy
    result = self.connector.send(self.service_name, method, *args)
  File "/opt/openerp/web/addons/web/common/openerplib/main.py", line 276, in send
    raise fault

Server Traceback (most recent call last):
  File "/opt/openerp/web/addons/web/common/openerplib/main.py", line 257, in send
    result = openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/home/reichert/Workspace/openerp/server/openerp/netsvc.py", line 325, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/reichert/Workspace/openerp/server/openerp/service/web_services.py", line 580, in dispatch
    res = fn(db, uid, *params)
  File "/home/reichert/Workspace/openerp/server/openerp/osv/osv.py", line 120, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/reichert/Workspace/openerp/server/openerp/osv/osv.py", line 172, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/reichert/Workspace/openerp/server/openerp/osv/osv.py", line 163, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/reichert/Workspace/openerp/server/openerp/osv/orm.py", line 2230, in search
    return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
  File "/home/reichert/Workspace/openerp/server/openerp/osv/orm.py", line 4533, in _search
    query = self._where_calc(cr, user, args, context=context)
  File "/home/reichert/Workspace/openerp/server/openerp/osv/orm.py", line 4382, in _where_calc
    e = expression.expression(cr, user, domain, self, context)
  File "/home/reichert/Workspace/openerp/server/openerp/osv/expression.py", line 358, in __init__
    self.parse(cr, uid, distribute_not(normalize(exp)), table, context)
  File "/home/reichert/Workspace/openerp/server/openerp/osv/expression.py", line 454, in parse
    raise ValueError("Invalid field %r in domain expression %r" % (left, exp))
ValueError: Invalid field 'model' in domain expression [('model', '=', 'project.issue')]

** Affects: openobject-addons
     Importance: Undecided
         Status: New

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

Title:
  Module project_issue is broken - cannot view or change issue
  categories

Status in OpenERP Addons (modules):
  New

Bug description:
  Hi,

  The problem is simple:
  When trying to view the issues categories under project menu an error is raised (pasted at the end of this message)

  I'm using the current trunk version of OpenERP 6.1.
  Scenario: fresh installation with 'project APP' & 'project_issue module'
  OS: Ubuntu 11.10
  Affected module: project_issue
  Client: new webclient
  Error: ValueError: Invalid field 'model' in domain expression [('model', '=', 'project.issue')]

  
  Client Traceback (most recent call last):
    File "/opt/openerp/web/addons/web/common/http.py", line 175, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/opt/openerp/web/addons/web/controllers/main.py", line 720, in search_read
      return self.do_search_read(req, model, fields, offset, limit, domain, sort)
    File "/opt/openerp/web/addons/web/controllers/main.py", line 745, in do_search_read
      ids = Model.search(domain, 0, False, sort or False, context)
    File "/opt/openerp/web/addons/web/common/openerplib/main.py", line 430, in proxy
      *args)
    File "/opt/openerp/web/addons/web/common/openerplib/main.py", line 306, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/opt/openerp/web/addons/web/common/openerplib/main.py", line 276, in send
      raise fault

  Server Traceback (most recent call last):
    File "/opt/openerp/web/addons/web/common/openerplib/main.py", line 257, in send
      result = openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/home/reichert/Workspace/openerp/server/openerp/netsvc.py", line 325, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/reichert/Workspace/openerp/server/openerp/service/web_services.py", line 580, in dispatch
      res = fn(db, uid, *params)
    File "/home/reichert/Workspace/openerp/server/openerp/osv/osv.py", line 120, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/reichert/Workspace/openerp/server/openerp/osv/osv.py", line 172, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/reichert/Workspace/openerp/server/openerp/osv/osv.py", line 163, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/reichert/Workspace/openerp/server/openerp/osv/orm.py", line 2230, in search
      return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
    File "/home/reichert/Workspace/openerp/server/openerp/osv/orm.py", line 4533, in _search
      query = self._where_calc(cr, user, args, context=context)
    File "/home/reichert/Workspace/openerp/server/openerp/osv/orm.py", line 4382, in _where_calc
      e = expression.expression(cr, user, domain, self, context)
    File "/home/reichert/Workspace/openerp/server/openerp/osv/expression.py", line 358, in __init__
      self.parse(cr, uid, distribute_not(normalize(exp)), table, context)
    File "/home/reichert/Workspace/openerp/server/openerp/osv/expression.py", line 454, in parse
      raise ValueError("Invalid field %r in domain expression %r" % (left, exp))
  ValueError: Invalid field 'model' in domain expression [('model', '=', 'project.issue')]

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


Follow ups

References