Analyse Module Quality
base_module_quality · odoo/odoo
-
Security5/252 grave, 2 minor
-
Activity0/25Last human commit 177 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 6.1
Heuristic over the facts below, not an audit · How it's computed
Security warnings
access_module_quality_check— ACL grants write/create/unlink on 'model_module_quality_check' to every user (portal/public included): no group is set. Verify record rules and test access as an unrelated public/portal user. acl-global-write · sourceaccess_module_quality_detail— ACL grants write/create/unlink on 'model_module_quality_detail' to every user (portal/public included): no group is set. Verify record rules and test access as an unrelated public/portal user. acl-global-write · source
Found by automated static analysis: these patterns are usually risky, but only a manual review of the module can confirm a real issue. Methodology
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
quality_check— Class 'quality_check' still inherits from the old-style `osv.osv_memory` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourcequality_save_report— Class 'quality_save_report' still inherits from the old-style `osv.osv_memory` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourcequality_save_report— Class 'quality_save_report' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceview_wizard_quality_check_tree— 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
The aim of this module is to check the quality of other modules.
It defines a wizard on the list of modules in OpenERP, which allows you to evaluate them on different criteria such as: the respect of OpenERP coding standards, the speed efficiency...
This module also provides generic framework to define your own quality test. For further info, coders may take a look into base_module_quality\README.txt
WARNING: This module cannot work as a ZIP file, you must unzip it before using it, otherwise it may crash.
Dependencies
- Odoo dependencies
-
odoo/odoo:- base
- 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 6
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_base_module_quality |
view_base_module_quality_form | quality.check | form | New |
view_quality_save_report |
view_quality_save_report | save.report | form | New |
view_wizard_quality_check_form |
Results of Quality Checks | module.quality.check | form | New |
view_wizard_quality_check_tree |
Results of Quality Checks | module.quality.check | tree | New |
view_wizard_quality_detail_form |
Results of Quality Checks with detail | module.quality.detail | form | New |
view_wizard_quality_detail_tree |
Results of Quality Checks with detail | module.quality.detail | tree | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 0
No models found for this module.