TIP: You can type at any time to perform a new search.
Module Analysis
module_analysis · OCA/server-tools
- Repository
- OCA/server-tools · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Uncategorized
- Folder size
- 0.3 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/server-tools
- Last tracking update
- 2026-08-07 08:42:58
- Authors
- Odoo Community Association (OCA), GRAP
- Maintainers
- Odoo Community Association (OCA), GRAP
- Committers
- OCA-git-bot, oca-ci, Adasat Torres de Leon
- Odoo dependencies
-
odoo/odoo:- base
- Python dependencies
- pygount
- System dependencies
- None
- Required by
- None
- Description
This module allows you to know 'how much code' is running on your Odoo instance, group by 'Type' (Odoo Core, OCA, other...) This module can be usefull in the following cases : - To analyse the size of your technical debt, regarding your Custom modules - To know the ratio between Odoo / OCA and Custom modules - To evaluate the amount to pay to odoo to upgrade your custom code, or the induced workload  For that purpose, it adds new concepts - `ir.module.author`, based on the value `author` present in the manifest file.  - `ir.module.type`, populated by default with Odoo and OCA values.  Each installed modules have extra data in the 'Technical Data' tab : 
Code Analysis ⓘ
Views touched (8)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_ir_module_author_form |
ir.module.author | form | New | |
view_ir_module_author_list |
ir.module.author | list | New | |
view_ir_module_module_form |
ir.module.module | form | Inherits base.module_form | |
view_ir_module_module_graph |
ir.module.module | graph | New | |
view_ir_module_module_pivot |
ir.module.module | pivot | New | |
view_ir_module_type_form |
ir.module.type | form | New | |
view_ir_module_type_list |
ir.module.type | list | New | |
view_ir_module_type_rule_list |
ir.module.type.rule | list | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (4)
New fields (3)
-
installed_module_idsMany2many → ir.module.modulecomodel_name='ir.module.module'relation='ir_module_module_author_rel'string='Modules' -
installed_module_qtyIntegercompute='_compute_installed_module_qty'store=Truestring='Installed Modules Quantity' -
nameCharrequired=True
No public methods.
New fields (7)
-
author_idsMany2many → ir.module.authorcomodel_name='ir.module.author'readonly=Truerelation='ir_module_module_author_rel'string='Authors' -
css_code_qtyIntegerreadonly=Truestring='CSS Code Quantity' -
js_code_qtyIntegerreadonly=Truestring='JS Code Quantity' -
module_type_idMany2one → ir.module.typecomodel_name='ir.module.type'readonly=Truestring='Analysed Module Type' -
python_code_qtyIntegerreadonly=Truestring='Python Code Quantity' -
scss_code_qtyIntegerreadonly=Truestring='SCSS Code Quantity' -
xml_code_qtyIntegerreadonly=Truestring='XML Code Quantity'
-
button_analyse_code(self) -
cron_analyse_code(self, domain=None)@api.model -
write(self, vals)
New fields (4)
-
installed_module_idsOne2many → ir.module.modulecomodel_name='ir.module.module'inverse_name='module_type_id'string='Installed Modules' -
installed_module_qtyIntegercompute='_compute_installed_module_qty'store=Truestring='Modules Quantity' -
nameCharrequired=True -
sequenceInteger
No public methods.
New fields (3)
-
module_domainChardefault='[]'required=True -
module_type_idMany2one → ir.module.typecomodel_name='ir.module.type'required=Truestring='Module type' -
sequenceInteger
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- green — ready to merge
- Open since
- 84 days ago
- Last activity
- 52 days ago
- Repository
- OCA/server-tools
- Pull request
- [19.0][MIG] module_analysis: Migration to 19.0 (#3631)