Skip to main content

odoo-sort-manifest-depends

Test Status Code Coverage

Table of Contents

Help

Usage: odoo-sort-manifest-depends [OPTIONS]

  Sort modules dependencies section in odoo addons manifests and group them by
  type (Third-party, Odoo Community, Odoo Enterprise, Local) and module
  category.

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)
  --oca-category [basic|repository]
                                Add category for third party addons coming
                                from OCA. If 'basic': category is set to
                                'OCA'. If 'repository': category is set as
                                'OCA/<repository_name>', if the repository
                                can not be identified, it falls into the
                                default 'OCA' category.
  --reset-cache                 Purge cache used to identify OCA addons
  --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

Running tests

Local development with Hatch

# Install hatch if you don't have it
pip install hatch

# Run tests
hatch run test

# Run tests with coverage
hatch run test-cov

Using pytest directly

pip install -r requirements-test.txt
pytest tests/ -v

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.

Release files for odoo-sort-manifest-depends 1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for odoo-sort-manifest-depends 1.5
File Size Uploaded
odoo_sort_manifest_depends-1.5.tar.gz 12.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for odoo-sort-manifest-depends 1.5
File Interpreter ABI Platform
odoo_sort_manifest_depends-1.5-py3-none-any.whl Python 3 none any Details

Total release size: 21.9 kB

Release files / odoo_sort_manifest_depends-1.5.tar.gz

Download URL odoo_sort_manifest_depends-1.5.tar.gz
Size 12.7 kB
Tags Source
SHA-256 checksum
How to use checksums
718329b4868bde4e60a1a376bde621e554ed5a2182f9c282744e3a7161b1ee98
BLAKE2b-256 checksum
How to use checksums
0c96524a0a073668bbbb9644c5e507381ca7b19cbad53f0631d0d69f4d59c2aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 17, 2026.

Transparency log

Release files / odoo_sort_manifest_depends-1.5-py3-none-any.whl

Download URL odoo_sort_manifest_depends-1.5-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e119f20cf4f27a65da91d498b1d38da565f6ff8fc875f0169eaf537a4bb49db0
BLAKE2b-256 checksum
How to use checksums
e6af098a79a4f5cfc221aaed86af6bd38beda77d2a36468cd237e55283ce0642
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 17, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.5 This release

2 release files

1.4

2 release files

1.3

2 release files

1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page