Kpi Dashboard
kpi_dashboard · OCA/reporting-engine
Health
55/100
fair
-
Security19/252 minor findings
-
Activity6/25Last human commit 36 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 4 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.78 MB
Module directory on disk
Code analysis
4 migration notes
8 models
14 views
0 HTTP endpoints
Migration considerations
kpi_dashboard_form_view— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. (2 occurrences in this file) migration-view-attrs-states · sourcekpi_dashboard_tree_view— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourcekpi_kpi_form_view— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourcekpi_kpi_history_tree_view— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). (2 occurrences in this file) migration-view-tree-tag · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 14
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
kpi_dashboard_dashboard_view |
kpi.dashboard.dashboard (in kpi_dashboard) | kpi.dashboard | New | |
kpi_dashboard_form_view |
kpi.dashboard.form (in kpi_dashboard) | kpi.dashboard | form | New |
kpi_dashboard_item_config_form_view |
kpi.dashboard.item.form (in kpi_dashboard) | kpi.dashboard.item | form | New |
kpi_dashboard_item_form_view |
kpi.dashboard.item.form (in kpi_dashboard) | kpi.dashboard.item | form | New |
kpi_dashboard_menu_form_view |
kpi.dashboard.menu.form (in kpi_dashboard) | kpi.dashboard.menu | form | New |
kpi_dashboard_search_view |
kpi.dashboard.search (in kpi_dashboard) | kpi.dashboard | search | New |
kpi_dashboard_tree_view |
kpi.dashboard.tree (in kpi_dashboard) | kpi.dashboard | tree | New |
kpi_kpi_form_view |
kpi.kpi.form (in kpi_dashboard) | kpi.kpi | form | New |
kpi_kpi_history_raw_form_view |
kpi.kpi.history.raw.form (in kpi_dashboard) | kpi.kpi.history | form | New |
kpi_kpi_history_tree_view |
kpi.kpi.history.tree (in kpi_dashboard) | kpi.kpi.history | tree | New |
kpi_kpi_history_widget_form_view |
kpi.kpi.history.raw.form (in kpi_dashboard) | kpi.kpi.history | form | New |
kpi_kpi_search_view |
kpi.kpi.search (in kpi_dashboard) | kpi.kpi | search | New |
kpi_kpi_tree_view |
kpi.kpi.tree (in kpi_dashboard) | kpi.kpi | tree | New |
kpi_kpi_widget_form_view |
kpi.kpi.raw.form (in kpi_dashboard) | kpi.kpi | form | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 8
New fields (1)
-
view_modeSelectionondelete={'kpi_dashboard': 'cascade'}selection_add=[('kpi_dashboard', 'Dashboard')]
No public methods.
New fields (1)
-
typeSelectionondelete={'kpi_dashboard': 'cascade'}selection_add=[('kpi_dashboard', 'Dashboard')]
No public methods.
New fields (13)
-
activeBooleandefault=True -
background_colorChardefault='#f9f9f9'required=True -
compute_on_fly_refreshIntegerdefault=0help='Seconds to refresh on fly elements' -
group_idsMany2many → res.groupsargs: 'res.groups' -
item_idsOne2many → kpi.dashboard.itemcopy=Trueinverse_name='dashboard_id' args: 'kpi.dashboard.item' -
margin_xIntegerdefault=10required=True -
margin_yIntegerdefault=10required=True -
menu_idMany2one → ir.ui.menucopy=False args: 'ir.ui.menu' -
nameCharrequired=True -
number_of_columnsIntegerdefault=5required=True -
widget_dimension_xIntegerdefault=250required=True -
widget_dimension_yIntegerdefault=250required=True -
widthIntegercompute='_compute_width'
-
read_dashboard(self) -
read_dashboard_on_fly(self) -
write(self, vals)
New fields (17)
-
colorChar -
columnIntegerdefault=1required=True -
compute_on_flyBooleanrelated='kpi_id.compute_on_fly' -
dashboard_idMany2one → kpi.dashboardondelete='cascade'required=True args: 'kpi.dashboard' -
end_columnIntegercompute='_compute_end_column'store=True -
end_rowIntegercompute='_compute_end_row'store=True -
font_colorChar -
kpi_idMany2one → kpi.kpiargs: 'kpi.kpi' -
modify_colorBoolean -
modify_color_expressionChar -
modify_contextBoolean -
modify_context_expressionChar -
nameCharrequired=True -
rowIntegerdefault=1required=True -
size_xIntegerdefault=1required=True -
size_yIntegerdefault=1required=True -
special_contextChar
-
read_dashboard(self) -
store_data(self) -
technical_config(self)
New fields (2)
-
dashboard_idMany2one → kpi.dashboardrequired=True args: 'kpi.dashboard' -
menu_idMany2one → ir.ui.menuargs: 'ir.ui.menu'
-
generate_menu(self)
New fields (23)
-
action_idsOne2many → kpi.kpi.actionhelp='Actions that can be opened from the KPI'inverse_name='kpi_id' args: 'kpi.kpi.action' -
activeBooleandefault=True -
argsChar -
codeText -
computation_methodSelectiondefault='code'required=True args: [('function', 'Function'), ('code', 'Code')] -
compute_on_flyBoolean -
computed_dateDatetimecompute='_compute_computed_value' -
computed_valueSerializedcompute='_compute_computed_value' -
cron_idMany2one → ir.croncopy=Falsereadonly=True args: 'ir.cron' -
dashboard_item_idsOne2many → kpi.dashboard.iteminverse_name='kpi_id' args: 'kpi.dashboard.item' -
functionChar -
history_idsOne2many → kpi.kpi.historyinverse_name='kpi_id' args: 'kpi.kpi.history' -
kwargsChar -
model_idMany2one → ir.modelargs: 'ir.model' -
nameCharrequired=True -
prefixChar -
store_historyBoolean -
store_history_intervalSelectionselection=<expr> -
store_history_interval_numberInteger -
suffixChar -
valueSerialized -
value_last_updateDatetimereadonly=True -
widgetSelectiondefault='number'required=True args: [('integer', 'Integer'), ('number', 'Number'), ('meter', 'Meter'), ('counter', 'Counter'), ('graph', 'Graph')]
-
compute(self) -
generate_cron(self) -
show_value(self) -
write(self, vals)
New fields (3)
-
actionReferencerequired=Trueselection=[('ir.actions.report', 'ir.actions.report'), ('ir.actions.act_window', 'ir.actions.act_window'), ('ir.actions.act_url', 'ir.actions.act_url'), ('ir.actions.server', 'ir.actions.server'), ('ir.actions.client', 'ir.actions.client')] -
contextChar -
kpi_idMany2one → kpi.kpiondelete='cascade'required=True args: 'kpi.kpi'
-
read_dashboard(self)
New fields (5)
-
kpi_idMany2one → kpi.kpiondelete='cascade'readonly=Truerequired=True args: 'kpi.kpi' -
nameCharrelated='kpi_id.name' -
raw_valueCharcompute='_compute_raw_value' -
valueSerializedreadonly=True -
widgetSelectiondefault='number'required=Trueselection=<expr>
-
show_form(self)
Loading…
Loading…
Loading…