Metadata-Version: 2.4
Name: odoorecursiveaddons
Version: 0.2.0
Summary: Expand addons_path recursively from Odoo configuration
Project-URL: Homepage, https://github.com/acevedoesteban999/odoorecursiveaddons
Author-email: acevedoesteban999 <acevedoesteban999@gmail.com>
License-Expression: MIT
License-File: LICENSE
Keywords: addons,config,odoo,paths,recursive
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.7
Description-Content-Type: text/markdown

# OdooRecursiveAddons

This module enables recursive addon loading for odoo-bin, making it ideal for developers managing multiple projects, repositories, and modules across various directories. Instead of manually adding every path to the .conf file, developers can use a single recursive configuration option that automatically discovers all valid Odoo modules within nested folder structures.

Expand `addons_path` recursively from the Odoo configuration file.

## Installation
```
pip install odoorecursiveaddons
```

## Use in odoo-bin
```
from odoorecursiveaddons import expand_addons_path_recursive_from_config

if __name__ == "__main__":
    for path in expand_addons_path_recursive_from_config():
        if path not in odoo.addons.__path__:
            odoo.addons.__path__.append(path)
    odoo.cli.main()
    
```

## Use in odoo.conf
```
[options]
addons_path_recursive = /route/to/addons
```


