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:
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:
Check specific addons only:
Show the suggested fix diff alongside each violation:
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:
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:
Fix specific addons only:
Preview fixes without committing: