← Back to team overview

openerp-india team mailing list archive

[Bug 986263] [NEW] Uneble do add edit a new Access Rules

 

You have been subscribed to a public bug:

When I try to add to  a Group a new access rules, and adding the new
rule name, the object textedit allows you to create.

if you create it, the system dose not allows you to enter a new Access
rule.

the error given is :

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


Server Traceback (most recent call last):
  File "/opt/openerp/openerp/addons/web/common/http.py", line 592, in send
    result = openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/opt/openerp/openerp/netsvc.py", line 360, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/opt/openerp/openerp/service/web_services.py", line 572, in dispatch
    res = fn(db, uid, *params)
  File "/opt/openerp/openerp/osv/osv.py", line 167, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/opt/openerp/openerp/osv/osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/opt/openerp/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/opt/openerp/openerp/osv/osv.py", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/opt/openerp/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 "/opt/openerp/openerp/osv/orm.py", line 4548, in _search
    query = self._where_calc(cr, user, args, context=context)
  File "/opt/openerp/openerp/osv/orm.py", line 4397, in _where_calc
    e = expression.expression(cr, user, domain, self, context)
  File "/opt/openerp/openerp/osv/expression.py", line 358, in __init__
    self.parse(cr, uid, distribute_not(normalize(exp)), table, context)
  File "/opt/openerp/openerp/osv/expression.py", line 478, in parse
    subexp = field.search(cr, uid, table, left, [self.__exp[i]], context=context)
  File "/opt/openerp/openerp/osv/fields.py", line 1101, in search
    return self._fnct_search(obj, cr, uid, obj, name, args, context=context)
  File "/opt/openerp/openerp/addons/base/ir/ir_model.py", line 79, in _search_osv_memory
    is_osv_mem = self._is_osv_memory(cr, uid, all_model_ids, 'osv_memory', arg=None, context=context)
  File "/opt/openerp/openerp/addons/base/ir/ir_model.py", line 68, in _is_osv_memory
    res[model.id] = self.pool.get(model.model).is_transient()
AttributeError: 'NoneType' object has no attribute 'is_transient'

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


** Tags: access groups rules
-- 
Uneble do add edit a new Access Rules 
https://bugs.launchpad.net/bugs/986263
You received this bug notification because you are a member of OpenERP Indian Team, which is subscribed to OpenERP Server.