Skip to content

Manifest

Experimental

These commands are experimental. The rule set, options, and output format may change in future releases.


oops-man-check

[EXPERIMENTAL] Check all Odoo manifest files against the oops lint rules.

Scans the repository for manifest.py files and runs the rules defined in oops.rules.manifest (author/maintainers, key order). Reports violations and exits non-zero if any are found.

Use oops-man-fix to apply autofixes.

Usage:

oops-man-check [OPTIONS]

Options:

Name Type Description Default
--diff boolean Show the autofix diff alongside each violation. False
--names text Comma-separated list of addon names to check. None
--help boolean Show this message and exit. False

Examples:

Check all manifests in the repository:

oops-man-check

Check specific addons only:

oops-man-check --names sale_custom,purchase_custom

Show the suggested fix diff alongside each violation:

oops-man-check --diff

oops-man-fix

[EXPERIMENTAL] Apply autofixes to Odoo manifest files.

Scans the repository for manifest.py files and applies all autofixable rules from oops.rules.manifest in place (author/maintainers, key order). Reports how many files were modified.

Use oops-man-check to preview violations without modifying files.

Usage:

oops-man-fix [OPTIONS]

Options:

Name Type Description Default
--names text Comma-separated list of addon names to fix. None
--no-commit boolean Do not commit changes False
--help boolean Show this message and exit. False

Examples:

Fix all manifests in the repository:

oops-man-fix

Fix specific addons only:

oops-man-fix --names sale_custom,purchase_custom

Preview fixes without committing:

oops-man-fix --no-commit