Skip to content

website-manifest-key-not-valid-uri (ODOO014)

Preview (since 0.16.2.2) · 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 the website key in an Odoo module's __manifest__.py, if present, is a valid http(s):// URI.

Why is this bad?

Odoo displays this URL on the module's Apps page; an invalid one is a dead link.

Example

{
    "website": "example.com",
}

Use instead:

{
    "website": "https://example.com",
}