openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #08306
[Bug 908875] Re: self.pool.get(model.model).is_transient() - no attribute 'is_transient'
I have a similar problem in 6.1 using sources from today. When clicking
on access control list, I cannot create any new rules. I get
Traceback (most recent call last):
File "/usr/local/openerp/6.1/openerp-server/openerp/osv/osv.py", line 121, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/local/openerp/6.1/openerp-server/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/local/openerp/6.1/openerp-server/openerp/osv/osv.py", line 164, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/local/openerp/6.1/openerp-server/openerp/osv/orm.py", line 2279, in name_search
return self._name_search(cr, user, name, args, operator, context, limit)
File "/usr/local/openerp/6.1/openerp-server/openerp/addons/base/ir/ir_model.py", line 136, in _name_search
super(ir_model, self).search(cr, uid, domain, limit=limit, context=context),
File "/usr/local/openerp/6.1/openerp-server/openerp/osv/orm.py", line 2241, in search
return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
File "/usr/local/openerp/6.1/openerp-server/openerp/osv/orm.py", line 4570, in _search
query = self._where_calc(cr, user, args, context=context)
File "/usr/local/openerp/6.1/openerp-server/openerp/osv/orm.py", line 4419, in _where_calc
e = expression.expression(cr, user, domain, self, context)
File "/usr/local/openerp/6.1/openerp-server/openerp/osv/expression.py", line 358, in __init__
self.parse(cr, uid, distribute_not(normalize(exp)), table, context)
File "/usr/local/openerp/6.1/openerp-server/openerp/osv/expression.py", line 478, in parse
subexp = field.search(cr, uid, table, left, [self.__exp[i]], context=context)
File "/usr/local/openerp/6.1/openerp-server/openerp/osv/fields.py", line 1101, in search
return self._fnct_search(obj, cr, uid, obj, name, args, context=context)
File "/usr/local/openerp/6.1/openerp-server/openerp/addons/base/ir/ir_model.py", line 81, in _search_osv_memory
is_osv_mem = self._is_osv_memory(cr, uid, all_model_ids, 'osv_memory', arg=None, context=context)
File "/usr/local/openerp/6.1/openerp-server/openerp/addons/base/ir/ir_model.py", line 70, in _is_osv_memory
res[model.id] = self.pool.get(model.model).is_transient()
AttributeError: 'NoneType' object has no attribute 'is_transient'
2012-02-29 19:04:55,716 19791 ERROR ? openerp.netsvc: 'NoneType' object has no attribute 'is_transient'
--
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/908875
Title:
self.pool.get(model.model).is_transient() - no attribute
'is_transient'
Status in OpenERP Server:
Fix Released
Bug description:
can not open model
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/908875/+subscriptions
References