Traceback (most recent call last): File "/usr/lib/python3/dist-packages/odoo/http.py",…
- User
Traceback (most recent call last): File "/usr/lib/python3/dist-packages/odoo/http.py", line 1765, in _serve_db return service_model.retrying(self._serve_ir_http, self.env) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 133, in retrying result = func() ^^^^^^ File "/usr/lib/python3/dist-packages/odoo/http.py", line 1792, in _serve_ir_http response = self.dispatcher.dispatch(rule.endpoint, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/odoo/http.py", line 1996, in dispatch result = self.request.registry['ir.http']._dispatch(endpoint) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 222, in _dispatch result = endpoint(**request.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/odoo/http.py", line 722, in route_wrapper result = endpoint(self, *args, **params_ok) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/dataset.py", line 28, in call_button action = self._call_kw(model, method, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/dataset.py", line 20, in _call_kw return call_kw(request.env[model], method, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/odoo/api.py", line 468, in call_kw result = _call_kw_multi(method, model, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/odoo/api.py", line 453, in _call_kw_multi result = method(recs, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/odoo/addons/base/models/res_config.py", line 95, in action_next return self.execute() or self.next() ^^^^^^^^^^^^^^ File "/opt/odoo/custom_addons/intrastat_product_hscodes_import/wizards/intrastat_hscodes_import_installer.py", line 96, in execute % ",".join(self._intrastat_file_available_langs()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'intrastat.hscodes.import.installer' object has no attribute '_intrastat_file_available_langs'
The above server error caused the following client error: RPC_ERROR: Odoo Server Error at makeErrorFromResponse (http://34.118.17.30/web/assets/debug/web.assets_web.js:27816:19) at XMLHttpRequest. (http://34.118.17.30/web/assets/debug/web.assets_web.js:27864:27)
- Assistant
The error you're encountering in Odoo is an
AttributeError, indicating that theintrastat.hscodes.import.installerobject does not have an attribute or method named_intrastat_file_available_langs. This error is a result of trying to use or call a method or property that does not exist on that object. - User
l'errore che dice
- Assistant
Sure, let's break down the error message you provided:
The main error is an
AttributeError:code