Skip to main content

Adds useful keys to manifest files

Project description

License: LGPL-3

Module Manifest - Extra Options

This is a technical module that allows developers to make use of extra keys in module manifests. The following keys are available currently:

  • depends_if_installed - Your module will depend on modules listed here but only if those modules are already installed. This is useful if your module needs to override the behavior of a certain module (dependencies determine load order) but would also work without it.

  • rdepends_if_installed - The modules listed here will depend on your module if they are already installed. This is useful if you want your module to be higher in the inheritance chain than the target modules and do not want to or cannot make changes to those modules.

Usage

Add this module as a dependency and use the keys described above.

Roadmap

Add support for the following additional keys:

  • breaks - Used to mark some modules as being incompatible with the current one. This could be set up to support versioning (e.g. 'breaks': ['my_module<<0.4.2']).

  • demo_if_installed, data_if_installed, qweb_if_installed - Dicts with module names as keys and lists of files as values. Used to load files only if some other module is installed.

  • _if_module - Used on models to load them only if the appropriate module is installed.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smash it by providing detailed and welcome feedback.

Credits

Images

  • Odoo Community Association: Icon.

Contributors

Do not contact contributors directly about support or help with technical issues.

Maintainer

Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit https://odoo-community.org.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file odoo9_addon_base_manifest_extension-9.0.1.0.0.99.dev3-py2-none-any.whl.

File metadata

File hashes

Hashes for odoo9_addon_base_manifest_extension-9.0.1.0.0.99.dev3-py2-none-any.whl
Algorithm Hash digest
SHA256 56b6483a681a7012b5db2f3b96bf3f7cf083c28bcc2015a612a2bee0d973651f
MD5 182764841a4b51aa987b663f241d7e94
BLAKE2b-256 b81b7c482a61efc5138b17db2ba4c4e317fef67844c8a41820397ab3e2474666

See more details on using hashes here.

Supported by

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