Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v13] error when adding % diff Act vs Budget #297

Open
fclementic2c opened this issue May 1, 2020 · 2 comments
Open

[v13] error when adding % diff Act vs Budget #297

fclementic2c opened this issue May 1, 2020 · 2 comments
Labels
bug no stale Use this label to prevent the automated stale action from closing this PR/Issue.

Comments

@fclementic2c
Copy link
Member

When I try to add a column Diff in % I get an error :
see video
https://drive.google.com/open?id=1KW61djDL6VXk1QBDoz8NUECrSYAOE0of

error:
Error:
Odoo Server Error

Traceback (most recent call last):
File "/odoo/src/odoo/http.py", line 624, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/odoo/src/odoo/http.py", line 310, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/odoo/src/odoo/tools/pycompat.py", line 14, in reraise
raise value
File "/odoo/src/odoo/http.py", line 669, in dispatch
result = self._call_function(**self.params)
File "/odoo/src/odoo/http.py", line 350, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/odoo/src/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/odoo/src/odoo/http.py", line 339, in checked_call
result = self.endpoint(*a, **kw)
File "/odoo/src/odoo/http.py", line 915, in call
return self.method(*args, **kw)
File "/odoo/src/odoo/http.py", line 515, in response_wrap
response = f(*args, **kw)
File "/odoo/src/addons/web/controllers/main.py", line 1322, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/odoo/src/addons/web/controllers/main.py", line 1314, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/odoo/src/odoo/api.py", line 387, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/odoo/src/odoo/api.py", line 374, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/odoo/external-src/mis-builder/mis_builder/models/mis_report_instance.py", line 806, in compute
kpi_matrix = self._compute_matrix()
File "/odoo/external-src/mis-builder/mis_builder/models/mis_report_instance.py", line 800, in _compute_matrix
kpi_matrix.compute_comparisons()
File "/odoo/external-src/mis-builder/mis_builder/models/kpimatrix.py", line 314, in compute_comparisons
common_subkpis = self._common_subkpis([col, base_col])
File "/odoo/external-src/mis-builder/mis_builder/models/kpimatrix.py", line 298, in _common_subkpis
common_subkpis = set(cols[0].subkpis)
AttributeError: 'NoneType' object has no attribute 'subkpis'

@sbidoul sbidoul added the bug label May 12, 2020
@miquelalzanillas
Copy link

miquelalzanillas commented Sep 3, 2021

Same here. When trying to compare two columns in v11. Is this a bug?

@github-actions
Copy link

github-actions bot commented Mar 6, 2022

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Mar 6, 2022
@sbidoul sbidoul added no stale Use this label to prevent the automated stale action from closing this PR/Issue. and removed stale PR/Issue without recent activity, it'll be soon closed automatically. labels Mar 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug no stale Use this label to prevent the automated stale action from closing this PR/Issue.
Projects
None yet
Development

No branches or pull requests

3 participants