Skip to content

missing-odoo-file (ODOO066)

Preview (since 0.16.2.13) · Related issues · View source

Derived from the odoo linter.

This rule is unstable and in preview. The --preview flag is required for use.

What it does

Checks that an Odoo module ships the files the project requires every module to have.

Why is this bad?

Projects usually mandate a few per-module files — an icon, a description page, a changelog. A module that silently ships without them is only noticed once it is installed or published.

Options

Each entry is a path relative to the module directory, e.g. static/description/index.html. The rule is inert until odoo-required-files lists at least one path, mirroring pylint-odoo, whose --odoo-required-files also defaults to an empty list. Paid apps have a separate rule, missing-odoo-file-app (OAPP002).