initOS/odoo-analyse ? reverse-engineered prompt

Reverse engineered prompt

Build me a Python tool for analyzing Odoo modules from a project folder or an Odoo config file.

I want to point it at a set of modules, have it read the manifests and related files, then show useful info about each module like dependencies, models, views, imports, and XML references. It should be able to save the analysis to a JSON file and load it back later so I do not have to rescan everything every time.

Please also make it filterable, so I can narrow things down by module name, model name, view name, file path, and whether test modules are included. If possible, let it check a database to figure out which modules are installed, and use that for filtering too.

I want graph output as well, especially dependency graphs, with a way to render them nicely. It should also work as a library, not just a command line tool, so I can import it in Python and inspect modules programmatically.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab