← Back to team overview

openerp-india team mailing list archive

[Bug 898132] Re: error opening models list view

 

Hum a bit scary though. It happens to us at 2 6.1 installations at
least. One has little configuration, I wonder if in our Brazilian
localisation we have such a large name. In any case I would prefer too
long names to be catch when defined rather than having that kind of
resulting bug.

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/898132

Title:
  error opening models list view

Status in OpenERP Server:
  Invalid

Bug description:
  trunk
  filter name for "acc"  works
  filter name for "b"  or empty filter

  
  Client Traceback (most recent call last):
    File "/srv/openerp/instances/trunk/openerp-web/addons/web/common/http.py", line 154, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/srv/openerp/instances/trunk/openerp-web/addons/web/controllers/main.py", line 676, in search_read
      return self.do_search_read(req, model, fields, offset, limit, domain, sort)
    File "/srv/openerp/instances/trunk/openerp-web/addons/web/controllers/main.py", line 712, in do_search_read
      records = Model.read(paginated_ids, fields or False, context)
    File "/srv/openerp/instances/trunk/openerp-web/addons/web/common/openerplib/main.py", line 429, in proxy
      *args)
    File "/srv/openerp/instances/trunk/openerp-web/addons/web/common/openerplib/main.py", line 306, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/srv/openerp/instances/trunk/openerp-web/addons/web/common/openerplib/main.py", line 276, in send
      raise fault

  
  Server Traceback (most recent call last):
    File "/srv/openerp/instances/trunk/openerp-web/addons/web/common/openerplib/main.py", line 257, in send
      result = openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/netsvc.py", line 325, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/service/web_services.py", line 580, in dispatch
      res = fn(db, uid, *params)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/osv.py", line 120, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/osv.py", line 172, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/osv.py", line 163, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/srv/openerp/instances/trunk/openobject-addons/base_calendar/base_calendar.py", line 1779, in read
      context=context, load=load)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/orm.py", line 3345, in read
      result = self._read_flat(cr, user, select, fields, context, load)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/orm.py", line 3468, in _read_flat
      res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/fields.py", line 1034, in get
      result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/addons/base/ir/ir_model.py", line 66, in _is_osv_memory
      res[model.id] = self.pool.get(model.model).is_transient()
  AttributeError: 'NoneType' object has no attribute 'is_transient'

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


References