Skip to content

Instantly share code, notes, and snippets.

@palichis
Created March 2, 2026 14:21
Show Gist options
  • Select an option

  • Save palichis/7d62874b3eaa7946f44c2523807251c2 to your computer and use it in GitHub Desktop.

Select an option

Save palichis/7d62874b3eaa7946f44c2523807251c2 to your computer and use it in GitHub Desktop.
RPC_ERROR
Odoo Server Error
Occured on localhost:8069 on model ute.distributive.header on 2026-03-02 14:19:12 GMT
Traceback (most recent call last):
File "/home/palichis/odoo18/odoo/http.py", line 2166, in _transactioning
return service_model.retrying(func, env=self.env)
File "/home/palichis/odoo18/odoo/service/model.py", line 156, in retrying
result = func()
File "/home/palichis/odoo18/odoo/http.py", line 2133, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "/home/palichis/odoo18/odoo/http.py", line 2381, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "/home/palichis/odoo18/odoo/addons/base/models/ir_http.py", line 333, in _dispatch
result = endpoint(**request.params)
File "/home/palichis/odoo18/odoo/http.py", line 754, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "/home/palichis/odoo18/addons/web/controllers/dataset.py", line 42, in call_button
action = call_kw(request.env[model], method, args, kwargs)
File "/home/palichis/odoo18/odoo/api.py", line 535, in call_kw
result = getattr(recs, name)(*args, **kwargs)
File "/home/palichis/code/ute_addons/distributivo/ute_distributive/models/distributive.py", line 147, in run_validation
patterns = self._prepare_match_patterns()
File "/home/palichis/code/ute_addons/distributivo/ute_distributive/models/distributive.py", line 119, in _prepare_match_patterns
for (category_id, activity_type_id), lines in investigation_lines.items():
ValueError: too many values to unpack (expected 2)
The above server error caused the following client error:
RPC_ERROR: Odoo Server Error
RPCError@http://localhost:8069/web/assets/2838168/web.assets_web.min.js:3170:338
makeErrorFromResponse@http://localhost:8069/web/assets/2838168/web.assets_web.min.js:3173:165
rpc._rpc/promise</<@http://localhost:8069/web/assets/2838168/web.assets_web.min.js:3178:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment