Skip to content
Health
55/100
fair
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 11 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 16.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
6 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.1 MB
Module directory on disk
Code analysis 5 migration notes 4 models 2 views 0 HTTP endpoints

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.

Project Pie Charts

Dependencies

Odoo dependencies
OCA/connector:
OCA/module-composition-analysis:
OCA/queue:
OCA/server-tools:
OCA/web:
odoo/odoo:
- web
- bus
Python dependencies
gitpython, odoo-addons-parser, pyyaml, requests, cachetools, plotly==5.13.1
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 2

XML IDNameModelTypeStatus
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_count Text
    compute='_compute_charts' string='Modules Chart'
  • chart_sloc Text
    compute='_compute_charts' string='Lines of Code Chart'
  • stats_ids One2many → odoo.project.stat
    comodel_name='odoo.project.stat' inverse_name='odoo_project_id'
Public methods (1)
  • action_generate_stats(self)

New fields (0)

No new fields.

Public methods (1)
  • action_import(self)

New fields (8)
  • color Char
    related='config_id.color'
  • config_id Many2one → odoo.project.stat.config
    comodel_name='odoo.project.stat.config' ondelete='restrict' readonly=True required=True string='Project Stat Configuration'
  • date Date
    index=True required=True
  • modules_count Integer
    readonly=True
  • name Char
    related='config_id.name' store=True
  • odoo_project_id Many2one → odoo.project
    comodel_name='odoo.project' index=True ondelete='cascade' readonly=True required=True string='Project'
  • sequence Integer
    related='config_id.sequence' store=True
  • sloc Integer
    readonly=True string='Lines of code'
Public methods (0)

No public methods.

New fields (5)
  • color Char
    required=True
  • domain Char
  • name Char
    required=True string='Title'
  • residual Boolean
    help="Will catch all modules that doesn't match other rules (domain field will be ignored if enabled)."
  • sequence Integer
    default=10
Public methods (0)

No public methods.

Loading…