TIP: You can type at any time to perform a new search.
Odoo Project Stats
odoo_project_stat · OCA/module-composition-analysis
- Repository
- OCA/module-composition-analysis · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Tools
- Folder size
- 0.1 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/module-composition-analysis
- Last tracking update
- 2026-08-07 08:09:33
- Authors
- Camptocamp, Odoo Community Association (OCA)
- Maintainers
- Camptocamp, Odoo Community Association (OCA)
- Committers
- Sébastien Alix, Weblate, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- gitpython, odoo-addons-parser, pyyaml, requests, cachetools, plotly==5.13.1
- System dependencies
- None
- Required by
- None
- Description
This module allows to generate and render some pie charts for your Odoo projects. It consists of two pie charts on the project form view: - number of installed modules - number of lines of code Both measures are split based on some criteria (configurable), by default: - Odoo CE - Odoo Enterprise - OCA - Community (not OCA) - Specific code - Misc. (everything not part of other criteria above) Each criteria having a rendering color used on the charts. 
Code Analysis ⓘ
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
odoo_project_stat_config_view_tree |
odoo.project.stat.config.tree | odoo.project.stat.config | tree | New |
odoo_project_view_form |
odoo.project.form.inherit | odoo.project | form | Inherits odoo_project.odoo_project_view_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (4)
New fields (3)
-
chart_modules_countTextcompute='_compute_charts'string='Modules Chart' -
chart_slocTextcompute='_compute_charts'string='Lines of Code Chart' -
stats_idsOne2many → odoo.project.statcomodel_name='odoo.project.stat'inverse_name='odoo_project_id'
-
action_generate_stats(self)
New fields (0)
No new fields.
Public methods (1)-
action_import(self)
New fields (8)
-
colorCharrelated='config_id.color' -
config_idMany2one → odoo.project.stat.configcomodel_name='odoo.project.stat.config'ondelete='restrict'readonly=Truerequired=Truestring='Project Stat Configuration' -
dateDateindex=Truerequired=True -
modules_countIntegerreadonly=True -
nameCharrelated='config_id.name'store=True -
odoo_project_idMany2one → odoo.projectcomodel_name='odoo.project'index=Trueondelete='cascade'readonly=Truerequired=Truestring='Project' -
sequenceIntegerrelated='config_id.sequence'store=True -
slocIntegerreadonly=Truestring='Lines of code'
No public methods.
New fields (5)
-
colorCharrequired=True -
domainChar -
nameCharrequired=Truestring='Title' -
residualBooleanhelp="Will catch all modules that doesn't match other rules (domain field will be ignored if enabled)." -
sequenceIntegerdefault=10
No public methods.
- Status
- Open migration PR — not merged yet for this version
- CI status
- checks failing
- Open since
- 8 days ago
- Last activity
- 8 days ago
- Repository
- OCA/module-composition-analysis
- Pull request
- [18.0][MIG] odoo_project_stat (#160)
- Status
- Open migration PR — not merged yet for this version
- CI status
- checks failing
- Open since
- 22 days ago
- Last activity
- 22 days ago
- Repository
- OCA/module-composition-analysis
- Pull request
- [19.0][MIG] odoo_project_stat (#154)