OdooWiki OCA HUB
Tools License: AGPL-3

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.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Adds a Stats tab on Odoo projects showing two pie charts: number of modules and lines of code, split by configurable categories such as Odoo CE, Enterprise, OCA, Community, Specific and Misc.

This module adds a new "Stats" tab on the Odoo project form, next to the existing pages. There you see two pie charts: one for the number of modules and one for lines of code, each split into categories with their own colour.

  • The categories are managed in a new configuration screen (Project Stats) under the repository configuration menu. Each line has a title, a colour, an order, an optional filter (domain) and a "residual" flag. The residual line automatically collects everything that does not match the other rules, so the totals always add up.
  • A "Refresh" button on the Stats tab recalculates the figures for that project. Stats are also recalculated automatically when modules are imported through the project import wizard.
  • Figures are stored per project and per day, so the charts always show the most recent day's data. Lines of code are counted from Python, XML, JavaScript and CSS files of the project's modules.
  • Only users in the repository user group can see the stats and the configuration; only managers can create or change the configuration.

The module extends odoo.project and the module import wizard, and adds the odoo.project.stat and odoo.project.stat.config models.

Menus it adds

odoo_project_stat_config_menu
Models and fields (4)
  • odoo.project · extends an existing modelstats_ids, chart_sloc (Lines of Code Chart), chart_modules_count (Modules Chart)
  • odoo.project.stat · new modeldate, name, sloc (Lines of code), color, sequence, config_id (Project Stat Configuration), modules_count, odoo_project_id (Project)
  • odoo.project.stat.config · new modelname (Title), color, domain, residual, sequence
  • odoo.project.import.modules · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/module-composition-analysis.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.