Sort modules dependencies section in odoo addon's manifest
Project description
odoo-sort-manifest-depends
Table of Contents
Help
Usage: odoo-sort-manifest-depends [OPTIONS]
Sort modules dependencies section in odoo addons manifests
Options:
--local-addons-dir DIRECTORY Directory containing manifests to sort
[required]
--odoo-version TEXT Project's Odoo version (e.g. 16.0) [required]
--project-name TEXT Name of the project, will be the name of
category of local addons (default: Local)
--help Show this message and exit.
Using from the command line
This project is distributed on PyPI. The recommended way to run it is with pipx, with a command like this:
pipx run odoo-sort-manifest-depends --local-addons-dir=odoo/addons --odoo-version=16.0
Using with pre-commit
This project may be used as a pre-commit hook, with an
entry like this in .pre-commit-config.yml
.
- repo: https://github.com/acsone/odoo-sort-manifest-depends
rev: v1.x # see the release page https://github.com/acsone/odoo-sort-manifest-depends/releases
hooks:
- id: odoo-sort-manifest-depends
args:
[
--local-addons-dir=./odoo/addons/,
--odoo-version=16.0,
--project-name=MyProject,
]
Credits
License
odoo-sort-manifest-depends
is distributed under the terms of the
MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file odoo_sort_manifest_depends-1.3.tar.gz
.
File metadata
- Download URL: odoo_sort_manifest_depends-1.3.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fb8e8310799702215ef6423a40c019d2909ddb1ac6db82427f5ab560eea2231 |
|
MD5 | 80cc58d7c9ce055d013b04d84cef9c0c |
|
BLAKE2b-256 | 8b255716e91c09ba31cbf20a1c35888b7c27a6c9b9eb5fab4a18d7bd41db2347 |
File details
Details for the file odoo_sort_manifest_depends-1.3-py3-none-any.whl
.
File metadata
- Download URL: odoo_sort_manifest_depends-1.3-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1092e399935f5a4c0f54e1957dec4f84a7829676cd0488be0a82bcf9959f431 |
|
MD5 | 4a5bd0ea6ea38924a2366604442e81fc |
|
BLAKE2b-256 | 20c13ef5878ac0c1f6b7823c7e917b9154aeeeaa4d999798d4b66ad3a4d1aea4 |