openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #10511
[Bug 985739] Re: create access right in group: no attribute 'is_transient' error
OpenERP Server Error
Client Traceback (most recent call last):
File "/var/openobject-server/hsd-6.1/web/addons/web/common/http.py", line 180, in dispatch
response["result"] = method(controller, self, **self.params)
File "/var/openobject-server/hsd-6.1/web/addons/web/controllers/main.py", line 1031, in call_kw
return self._call_kw(req, model, method, args, kwargs)
File "/var/openobject-server/hsd-6.1/web/addons/web/controllers/main.py", line 993, in _call_kw
return getattr(req.session.model(model), method)(*args, **kwargs)
File "/var/openobject-server/hsd-6.1/web/addons/web/common/openerplib/main.py", line 250, in proxy
args, kw)
File "/var/openobject-server/hsd-6.1/web/addons/web/common/openerplib/main.py", line 117, in proxy
result = self.connector.send(self.service_name, method, *args)
File "/var/openobject-server/hsd-6.1/web/addons/web/common/http.py", line 611, in send
raise fault
Server Traceback (most recent call last):
File "/var/openobject-server/hsd-6.1/web/addons/web/common/http.py", line 592, in send
result = openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/var/openobject-server/hsd-6.1/server-trunk/openerp/netsvc.py", line 362, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/var/openobject-server/hsd-6.1/server-trunk/openerp/service/web_services.py", line 586, in dispatch
res = fn(db, uid, *params)
File "/var/openobject-server/hsd-6.1/server-trunk/openerp/osv/osv.py", line 167, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/var/openobject-server/hsd-6.1/server-trunk/openerp/osv/osv.py", line 121, in wrapper
return f(self, dbname, *args, **kwargs)
File "/var/openobject-server/hsd-6.1/server-trunk/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/var/openobject-server/hsd-6.1/server-trunk/openerp/osv/osv.py", line 164, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/var/openobject-server/hsd-6.1/server-trunk/openerp/osv/orm.py", line 2276, in name_search
return self._name_search(cr, user, name, args, operator, context, limit)
File "/var/openobject-server/hsd-6.1/server-trunk/openerp/addons/base/ir/ir_model.py", line 138, in _name_search
super(ir_model, self).search(cr, uid, domain, limit=limit, context=context),
File "/var/openobject-server/hsd-6.1/server-trunk/openerp/osv/orm.py", line 2238, in search
return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
File "/var/openobject-server/hsd-6.1/server-trunk/openerp/osv/orm.py", line 4574, in _search
query = self._where_calc(cr, user, args, context=context)
File "/var/openobject-server/hsd-6.1/server-trunk/openerp/osv/orm.py", line 4423, in _where_calc
e = expression.expression(cr, user, domain, self, context)
File "/var/openobject-server/hsd-6.1/server-trunk/openerp/osv/expression.py", line 358, in __init__
self.parse(cr, uid, distribute_not(normalize(exp)), table, context)
File "/var/openobject-server/hsd-6.1/server-trunk/openerp/osv/expression.py", line 478, in parse
subexp = field.search(cr, uid, table, left, [self.__exp[i]], context=context)
File "/var/openobject-server/hsd-6.1/server-trunk/openerp/osv/fields.py", line 1033, in search
return self._fnct_search(obj, cr, uid, obj, name, args, context=context)
File "/var/openobject-server/hsd-6.1/server-trunk/openerp/addons/base/ir/ir_model.py", line 83, in _search_osv_memory
is_osv_mem = self._is_osv_memory(cr, uid, all_model_ids, 'osv_memory', arg=None, context=context)
File "/var/openobject-server/hsd-6.1/server-trunk/openerp/addons/base/ir/ir_model.py", line 72, in _is_osv_memory
res[model.id] = self.pool.get(model.model).is_transient()
AttributeError: 'NoneType' object has no attribute 'is_transient'
** Description changed:
$bzr revno
4142
- On creating an 'access right' line in a group definition, the following
- exception occurs:
-
- OpenERP Server Error
- Client Traceback (most recent call last):
- File "/var/openobject-server/hsd-6.1/web/addons/web/common/http.py", line 180, in dispatch
- response["result"] = method(controller, self, **self.params)
- File "/var/openobject-server/hsd-6.1/web/addons/web/controllers/main.py", line 1031, in call_kw
- return self._call_kw(req, model, method, args, kwargs)
- File "/var/openobject-server/hsd-6.1/web/addons/web/controllers/main.py", line 993, in _call_kw
- return getattr(req.session.model(model), method)(*args, **kwargs)
- File "/var/openobject-server/hsd-6.1/web/addons/web/common/openerplib/main.py", line 250, in proxy
- args, kw)
- File "/var/openobject-server/hsd-6.1/web/addons/web/common/openerplib/main.py", line 117, in proxy
- result = self.connector.send(self.service_name, method, *args)
- File "/var/openobject-server/hsd-6.1/web/addons/web/common/http.py", line 611, in send
- raise fault
-
-
- Server Traceback (most recent call last):
- File "/var/openobject-server/hsd-6.1/web/addons/web/common/http.py", line 592, in send
- result = openerp.netsvc.dispatch_rpc(service_name, method, args)
- File "/var/openobject-server/hsd-6.1/server-trunk/openerp/netsvc.py", line 362, in dispatch_rpc
- result = ExportService.getService(service_name).dispatch(method, params)
- File "/var/openobject-server/hsd-6.1/server-trunk/openerp/service/web_services.py", line 586, in dispatch
- res = fn(db, uid, *params)
- File "/var/openobject-server/hsd-6.1/server-trunk/openerp/osv/osv.py", line 167, in execute_kw
- return self.execute(db, uid, obj, method, *args, **kw or {})
- File "/var/openobject-server/hsd-6.1/server-trunk/openerp/osv/osv.py", line 121, in wrapper
- return f(self, dbname, *args, **kwargs)
- File "/var/openobject-server/hsd-6.1/server-trunk/openerp/osv/osv.py", line 176, in execute
- res = self.execute_cr(cr, uid, obj, method, *args, **kw)
- File "/var/openobject-server/hsd-6.1/server-trunk/openerp/osv/osv.py", line 164, in execute_cr
- return getattr(object, method)(cr, uid, *args, **kw)
- File "/var/openobject-server/hsd-6.1/server-trunk/openerp/osv/orm.py", line 2276, in name_search
- return self._name_search(cr, user, name, args, operator, context, limit)
- File "/var/openobject-server/hsd-6.1/server-trunk/openerp/addons/base/ir/ir_model.py", line 138, in _name_search
- super(ir_model, self).search(cr, uid, domain, limit=limit, context=context),
- File "/var/openobject-server/hsd-6.1/server-trunk/openerp/osv/orm.py", line 2238, in search
- return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
- File "/var/openobject-server/hsd-6.1/server-trunk/openerp/osv/orm.py", line 4574, in _search
- query = self._where_calc(cr, user, args, context=context)
- File "/var/openobject-server/hsd-6.1/server-trunk/openerp/osv/orm.py", line 4423, in _where_calc
- e = expression.expression(cr, user, domain, self, context)
- File "/var/openobject-server/hsd-6.1/server-trunk/openerp/osv/expression.py", line 358, in __init__
- self.parse(cr, uid, distribute_not(normalize(exp)), table, context)
- File "/var/openobject-server/hsd-6.1/server-trunk/openerp/osv/expression.py", line 478, in parse
- subexp = field.search(cr, uid, table, left, [self.__exp[i]], context=context)
- File "/var/openobject-server/hsd-6.1/server-trunk/openerp/osv/fields.py", line 1033, in search
- return self._fnct_search(obj, cr, uid, obj, name, args, context=context)
- File "/var/openobject-server/hsd-6.1/server-trunk/openerp/addons/base/ir/ir_model.py", line 83, in _search_osv_memory
- is_osv_mem = self._is_osv_memory(cr, uid, all_model_ids, 'osv_memory', arg=None, context=context)
- File "/var/openobject-server/hsd-6.1/server-trunk/openerp/addons/base/ir/ir_model.py", line 72, in _is_osv_memory
- res[model.id] = self.pool.get(model.model).is_transient()
- AttributeError: 'NoneType' object has no attribute 'is_transient'
-
-
This exception occurs both when using the webclient and the gtk-client.
--
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/985739
Title:
create access right in group: no attribute 'is_transient' error
Status in OpenERP Server:
New
Bug description:
$bzr revno
4142
This exception occurs both when using the webclient and the gtk-
client.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/985739/+subscriptions
References