connect-to-ak / odoo-analyse

Package to analyse and visualize odoo modules from the setup.py

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

odoo-analyse

Analyse tool for odoo modules

Installation

Install the module with the ability to render graphs: pip install "odoo-analyse[graph]"

Usage

odoo_analyse --help

Read in modules

--config /path/to/odoo.cfg .. Load modules using an odoo configuration file

--path /path/to/modules .. Load modules within a directory

--load /path/to/data.json .. Load the modules from a previously stored data file

Save the loaded modules

-s /path/to/data.json .. Store the loaded modules in a file

Filtering

--modules '*' .. Only show modules with a matching name

--models '*' .. Only show models with a matching name

--views '*' .. Only show views with a matching name

--path-filter '*' .. Only modules with a matching file path

--test-filter .. Include module starting with test_

Module graph

Use atleast one of the following --show-* options to show a module graph.

--show-dependency .. Show module dependencies from the manifests

--show-import .. Show imports of module from other modules

--show-reference .. Show XML references of modules from other modules

--migration '*' .. Color all modules with a matching version

About

Package to analyse and visualize odoo modules from the setup.py

License:GNU Affero General Public License v3.0


Languages

Language:Python 100.0%