Skip to main content

Expand addons_path recursively from Odoo configuration

Project description

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

    paths = expand_addons_path_recursive_from_config()
    print(paths)  

Use in odoo.conf

[options]
addons_path_recursive = /route/to/addons

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

odoorecursiveaddons-0.1.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

odoorecursiveaddons-0.1.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file odoorecursiveaddons-0.1.1.tar.gz.

File metadata

  • Download URL: odoorecursiveaddons-0.1.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.5

File hashes

Hashes for odoorecursiveaddons-0.1.1.tar.gz
Algorithm Hash digest
SHA256 73eed3ff951cd942d08af060ed1f24bbcca0eff6b425af607148d861080d1e46
MD5 60f565c03e36401ef221d25fc1266710
BLAKE2b-256 147acc3165606e78a4596913ac0211fd79996ec6b85f1b0b61e15c56fbd6bda2

See more details on using hashes here.

File details

Details for the file odoorecursiveaddons-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for odoorecursiveaddons-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bf46be179b610e82d8c7c18dbe0884790ce30d56659c9bc90848b312447c65b1
MD5 b26a75f72cc7bae2341ea5f7c104fc8b
BLAKE2b-256 01baa3e7ee7699291c96756eb3d36f4206ae942ebb137593ed23f9f064ec250d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page