Support

Welcome!

This community is for professionals and enthusiasts of our products and services.
Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

1

ajax.js error - blocked UI

Avatar
Karol Murawski

Hi,

After installing all modules we have problems with blocked UI by some privileges. How we can fix it? I've found in js console: 

"{\"message\":\"Odoo Server Error\",\"code\":200,\"data\":{\"debug\":\"Traceback (most recent call last):\\n  File \\\"/opt/odoo/odoo/http.py\\\", line 641, in _handle_exception\\n    return super(JsonRequest, self)._handle_exception(exception)\\n  File \\\"/opt/odoo/odoo/http.py\\\", line 683, in dispatch\\n    result = self._call_function(**self.params)\\n  File \\\"/opt/odoo/odoo/http.py\\\", line 333, in _call_function\\n    return checked_call(self.db, *args, **kwargs)\\n  File \\\"/opt/odoo/odoo/service/model.py\\\", line 101, in wrapper\\n    return f(dbname, *args, **kwargs)\\n  File \\\"/opt/odoo/odoo/http.py\\\", line 326, in checked_call\\n    result = self.endpoint(*a, **kw)\\n  File \\\"/opt/odoo/odoo/http.py\\\", line 941, in __call__\\n    return self.method(*args, **kw)\\n  File \\\"/opt/odoo/odoo/http.py\\\", line 506, in response_wrap\\n    response = f(*args, **kw)\\n  File \\\"/opt/odoo/addons/web/controllers/main.py\\\", line 890, in call_kw\\n    return self._call_kw(model, method, args, kwargs)\\n  File \\\"/opt/odoo/addons/web/controllers/main.py\\\", line 882, in _call_kw\\n    return call_kw(request.env[model], method, args, kwargs)\\n  File \\\"/opt/odoo/odoo/api.py\\\", line 687, in call_kw\\n    return call_kw_model(method, model, args, kwargs)\\n  File \\\"/opt/odoo/odoo/api.py\\\", line 672, in call_kw_model\\n    result = method(recs, *args, **kwargs)\\n  File \\\"/opt/odoo/stilo_addons/addons/asterisk_calls/models/res_users.py\\\", line 17, in get_asterisk_channels\\n    [('user', '=', uid)])\\n  File \\\"/opt/odoo/odoo/models.py\\\", line 1514, in search\\n    res = self._search(args, offset=offset, limit=limit, order=order, count=count)\\n  File \\\"/opt/odoo/odoo/models.py\\\", line 4212, in _search\\n    self.sudo(access_rights_uid or self._uid).check_access_rights('read')\\n  File \\\"/opt/odoo/odoo/models.py\\\", line 3282, in check_access_rights\\n    return self.env['ir.model.access'].check(self._name, operation, raise_exception)\\n  File \\\"<decorator-gen-4>\\\", line 2, in check\\n  File \\\"/opt/odoo/odoo/tools/cache.py\\\", line 87, in lookup\\n    value = d[key] = self.method(*args, **kwargs)\\n  File \\\"/opt/odoo/odoo/addons/base/ir/ir_model.py\\\", line 941, in check\\n    raise AccessError(msg % msg_params)\\nAccessError: (u'Nie jeste\\\\u015b upowa\\\\u017cniony do tego dokumentu. Tylko u\\\\u017cytkownicy z tymi uprawnieniami mog\\\\u0105 to wykona\\\\u0107:\\\\n- Asterisk/Administrator\\\\n\\\\t- Asterisk/Agent\\\\n\\\\t- Asterisk/User\\\\n\\\\n(Model dokumentu: asterisk_common.user_channel)', None)\\n\",\"exception_type\":\"access_error\",\"message\":\"Nie jesteś upoważniony do tego dokumentu. Tylko użytkownicy z tymi uprawnieniami mogą to wykonać:\\n- Asterisk/Administrator\\n\\t- Asterisk/Agent\\n\\t- Asterisk/User\\n\\n(Model dokumentu: asterisk_common.user_channel)\\nNone\",\"name\":\"odoo.exceptions.AccessError\",\"arguments\":[\"Nie jesteś upoważniony do tego dokumentu. Tylko użytkownicy z tymi uprawnieniami mogą to wykonać:\\n- Asterisk/Administrator\\n\\t- Asterisk/Agent\\n\\t- Asterisk/User\\n\\n(Model dokumentu: asterisk_common.user_channel)\",null]}}"
Avatar
Discard
1 Answer
1
Avatar
Max Lit
Best Answer

Hi Karol!

I do not think it is possible to resolve it just by this log.

Please create a support request to troubleshoot it.

Thanks.

1 Comment
Avatar
Discard
Avatar
Karol Murawski
-

Hi Max we already talk about this at telegraph.