Skip to Content
Menu
This question has been flagged
3 Replies
1316 Views

RPC_ERROR

Odoo Server Error


RPC_ERROR Odoo Server Error

Traceback (most recent call last): File "E:\LearnOdoo\server\odoo\http.py", line 1591, in _serve_db return service_model.retrying(self._serve_ir_http, self.env) File "E:\LearnOdoo\server\odoo\service\model.py", line 133, in retrying result = func() File "E:\LearnOdoo\server\odoo\http.py", line 1618, in _serve_ir_http response = self.dispatcher.dispatch(rule.endpoint, args) File "E:\LearnOdoo\server\odoo\http.py", line 1822, in dispatch result = self.request.registry['ir.http']._dispatch(endpoint) File "E:\LearnOdoo\server\odoo\addons\base\models\ir_http.py", line 154, in _dispatch result = endpoint(**request.params) File "E:\LearnOdoo\server\odoo\http.py", line 697, in route_wrapper result = endpoint(self, *args, **params_ok) File "E:\LearnOdoo\server\odoo\addons\web\controllers\dataset.py", line 46, in call_button action = self._call_kw(model, method, args, kwargs) File "E:\LearnOdoo\server\odoo\addons\web\controllers\dataset.py", line 33, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "E:\LearnOdoo\server\odoo\api.py", line 468, in call_kw result = _call_kw_multi(method, model, args, kwargs) File "E:\LearnOdoo\server\odoo\api.py", line 453, in _call_kw_multi result = method(recs, *args, **kwargs) File "", line 2, in button_immediate_install File "E:\LearnOdoo\server\odoo\addons\base\models\ir_module.py", line 74, in check_and_log return method(self, *args, **kwargs) File "E:\LearnOdoo\server\odoo\addons\base\models\ir_module.py", line 474, in button_immediate_install return self._button_immediate_function(self.env.registry[self._name].button_install) File "E:\LearnOdoo\server\odoo\addons\base\models\ir_module.py", line 598, in _button_immediate_function registry = modules.registry.Registry.new(self._cr.dbname, update_module=True) File "", line 2, in new File "E:\LearnOdoo\server\odoo\tools\func.py", line 87, in locked return func(inst, *args, **kwargs) File "E:\LearnOdoo\server\odoo\modules\registry.py", line 90, in new odoo.modules.load_modules(registry, force_demo, status, update_module) File "E:\LearnOdoo\server\odoo\modules\loading.py", line 488, in load_modules processed_modules += load_marked_modules(cr, graph, File "E:\LearnOdoo\server\odoo\modules\loading.py", line 372, in load_marked_modules loaded, processed = load_module_graph( File "E:\LearnOdoo\server\odoo\modules\loading.py", line 231, in load_module_graph load_data(cr, idref, mode, kind='data', package=package) File "E:\LearnOdoo\server\odoo\modules\loading.py", line 71, in load_data tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind) File "E:\LearnOdoo\server\odoo\tools\convert.py", line 757, in convert_file with file_open(pathname, 'rb') as fp: File "E:\LearnOdoo\server\odoo\tools\misc.py", line 209, in file_open path = file_path(name, filter_ext=filter_ext, env=env) File "E:\LearnOdoo\server\odoo\tools\misc.py", line 188, in file_path raise FileNotFoundError("File not found: " + file_path) FileNotFoundError: File not found: E:\LearnOdoo\server\custom_addons\school\security\ir.models.access.csv The above server error caused the following client error: RPC_ERROR: Odoo Server Error at makeErrorFromResponse (http://localhost:8040/web/assets/607-7e98488/web.assets_backend.min.js:992:163) at XMLHttpRequest. (http://localhost:8040/web/assets/607-7e98488/web.assets_backend.min.js:1000:13)


Avatar
Discard
Best Answer
FileNotFoundError: File not found: E:\LearnOdoo\server\custom_addons\school\security\ir.models.access.csv

The error message is very clear. check the file name provided in manifest or rename the file name as per you provided in manifest.
Avatar
Discard
Best Answer

Hi Rutvik Kamani ,

This error is because Odoo cannot locate the file 'ir.models.access.csv' defined in the module's manifest file. To resolve this, verify whether the file exists in the specified path and check for any typo in the path mentioned in the manifest file.

Hope it helps,
Kiran K

Avatar
Discard
Best Answer

Please check your filename

ir.models.access.csv ->  ir.model.access.csv

Avatar
Discard
Related Posts Replies Views Activity
1
Jan 24
2024
0
Mar 17
3843
1
Oct 24
1139
0
Dec 23
1299
2
May 23
3383