Metadata-Version: 2.1
Name: odoo-analyse
Version: 0.2
Summary: Package to analyse odoo modules
Home-page: https://github.com/initOS/odoo-analyse
Author: initOS GmbH
Author-email: info@initos.com
License: AGPL-3.0
Project-URL: Documentation, https://github.com/initOS/odoo-analyse/blob/master/README.md
Project-URL: Usage, https://odoo-code-search.com
Keywords: odoo,modules,analyze,dependency,graph
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Topic :: Software Development
Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
Description-Content-Type: text/markdown
Requires-Dist: 2to3
Requires-Dist: cloc
Requires-Dist: lxml
Provides-Extra: console
Requires-Dist: graphviz ; extra == 'console'

# odoo-analyse

Analyse tool for odoo modules

## Installation

```pip install odoo-analyse```

## 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



