Skip to content

Odoo Module Explorer v0.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 15 Oct 11:02

This is the first public release of Odoo Module Explorer, an open-source tool developed to help Odoo developers explore and analyze the structure of their custom modules.

The application provides a local web interface for visualizing Odoo addons, inspecting source code, and understanding the relationships between different components without needing to run an Odoo server or connect to a database.

The current version supports Odoo 16, 17, 18, and 19.

Main Features

  • Module Explorer: An interactive treemap for exploring module directories, files, and their internal structures, with statistics such as file size, number of files, and lines of code.
  • Python Analysis: Inspection of Python classes, methods, fields, Odoo models, inheritance, and controllers.
  • XML and QWeb Analysis: Inspection of views, records, actions, menus, templates, and XPath expressions.
  • JavaScript and OWL Analysis: Inspection of frontend components, classes, services, hooks, imports, and registry registrations.
  • CSS and SCSS Analysis: Inspection of stylesheet structures, selectors, variables, and mixins.
  • Advanced Insights: Search for source-code symbols, review Odoo models, and visualize relationships between models.
  • Automatic Refresh: Detect changes to module files and update the analysis using incremental caching.
  • Analysis Profiles: Switch between Odoo Source, which focuses on relevant module code, and All Files, which displays the complete physical file structure, including supporting assets.

Installation

The application is distributed as a Python wheel and can be installed without cloning the repository or building the frontend.

Download the following file from the Assets section:

odoo_module_explorer_backend-0.1.0-py3-none-any.whl

The application requires Python 3.10 or newer. Node.js is required for JavaScript and OWL inspection, but npm is not required when using the prebuilt wheel.

For installation instructions, refer to the [Installation Guide](https://github.com/Gadero5565/odoo-module-explorer/blob/v0.1.0/docs/INSTALLATION.md).

Once installed, run odoo-explorer from the Python environment where the package was installed. The application will start locally and open the web interface at:

http://127.0.0.1:7764

You can then select an Odoo addon directory or use the included example module to explore the available features.

Technical Information

The project uses FastAPI for the backend and React with TypeScript for the frontend. ECharts is used for the interactive visualizations.

The analysis is performed locally without executing the selected module's source code. The application does not require an Odoo installation or database connection, and source files are not uploaded to external services.

The application currently analyzes one module at a time. Since the analysis is static, some dynamically generated structures and relationships with external modules may not be fully resolved.

Documentation

Feedback and Contributions

This is the initial release, and there is still room for improvements and additional features.

If you encounter any issues while using the application or have suggestions for future improvements, you can open an issue in the [GitHub repository](https://github.com/Gadero5565/odoo-module-explorer/issues).

Contributions are also welcome.

License: LGPL-3.0-only

[Source Code](https://github.com/Gadero5565/odoo-module-explorer) | [Full Changelog](https://github.com/Gadero5565/odoo-module-explorer/commits/v0.1.0)