Issue Report – OdooMates Accounting Module #178
Unanswered
v3locityGlobal
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary of the Problem
While working with the budgeting features, an error occurs when accessing the model crossovered.budget.lines. The error appears to be triggered when the system attempts to retrieve fields or views. The stack trace points to a missing model reference: account.analytic.group, which results in a KeyError. This prevents the budget view from loading properly.
=================================
RPC_ERROR
Odoo Server Error
Occured on <instance_url> on model crossovered.budget.lines on 2025-08-25 18:33:36 GMT
Traceback (most recent call last):
File "/var/odoo/src/odoo/http.py", line 2144, in _transactioning
return service_model.retrying(func, env=self.env)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/odoo/src/odoo/service/model.py", line 156, in retrying
result = func()
^^^^^^
File "/var/odoo/src/odoo/http.py", line 2111, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/odoo/src/odoo/http.py", line 2359, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/odoo/src/odoo/addons/base/models/ir_http.py", line 333, in _dispatch
result = endpoint(**request.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/odoo/src/odoo/http.py", line 754, in route_wrapper
result = endpoint(self, *args, **params_ok)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/odoo/src/addons/web/controllers/dataset.py", line 36, in call_kw
return call_kw(request.env[model], method, args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/odoo/src/odoo/api.py", line 535, in call_kw
result = getattr(recs, name)(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/odoo/src/odoo/addons/base/models/ir_ui_view.py", line 2604, in get_views
result['models'][model] = {"fields": self.env[model].fields_get(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/odoo/src/odoo/models.py", line 3765, in fields_get
description = field.get_description(self.env, attributes=attributes)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/odoo/src/odoo/fields.py", line 872, in get_description
value = value(env)
^^^^^^^^^^
File "/var/odoo/src/odoo/fields.py", line 906, in _description_sortable
model._order_field_to_sql(model._table, self.name, SQL(), SQL(), query)
File "/var/odoo/src/odoo/models.py", line 5652, in _order_field_to_sql
comodel = self.env[field.comodel_name]
~~~~~~~~^^^^^^^^^^^^^^^^^^^^
File "/var/odoo/src/odoo/api.py", line 614, in getitem
return self.registry[model_name](self, (), ())
~~~~~~~~~~~~~^^^^^^^^^^^^
File "/var/odoo/src/odoo/modules/registry.py", line 244, in getitem
return self.models[model_name]
~~~~~~~~~~~^^^^^^^^^^^^
KeyError: 'account.analytic.group'
The above server error caused the following client error:
OwlError: An error occured in the owl lifecycle (see this Error's "cause" property)
Error: An error occured in the owl lifecycle (see this Error's "cause" property)
at handleError (https://<instance_url>/web/assets/b336a11/web.assets_web.min.js:972:101)
at App.handleError (https://<instance_url>/web/assets/b336a11/web.assets_web.min.js:1619:29)
at ComponentNode.initiateRender (https://<instance_url>/web/assets/b336a11/web.assets_web.min.js:1064:19)
Caused by: RPC_ERROR: Odoo Server Error
RPC_ERROR
at makeErrorFromResponse (https://<instance_url>/web/assets/b336a11/web.assets_web.min.js:3148:163)
at XMLHttpRequest. (https://<instance_url>/web/assets/b336a11/web.assets_web.min.js:3153:13)
=======================
Environment
Odoo Version: 18 CE
Module: OdooMates Accounting (Budget feature)
Database: Fresh setup + basic accounting configuration
Steps to Reproduce
Install OdooMates Accounting on Odoo v18 CE.
Configure a budget and attempt to open/view budget lines (crossovered.budget.lines).
The error occurs when the view tries to load.
Expected Behavior
Budget lines should load normally.
No reference to missing models (account.analytic.group) should occur.
Actual Behavior
Error: KeyError: 'account.analytic.group'.
Budget views fail to render.
Notes
It seems that the module references account.analytic.group, which does not exist in Community Edition by default. This might require a dependency, a backport, or a missing migration in the module.
Beta Was this translation helpful? Give feedback.
All reactions