Skip to content

manifest-required-key-app (OAPP003)

Preview (since 0.16.2.10) · Related issues · View source

Derived from the odoo-app linter.

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

What it does

Checks that the __manifest__.py of an Odoo module with a price key (a paid app) declares the extra keys the Odoo Apps store requires: currency, images, and support.

Why is this bad?

Paid apps are published on apps.odoo.com, which uses currency to price the app, images for the store listing, and support as the contact for buyers. Without them the store listing is incomplete.

Example

{
    "name": "My App",
    "price": 100,
}

Use instead:

{
    "name": "My App",
    "price": 100,
    "currency": "EUR",
    "images": ["static/description/banner.png"],
    "support": "support@example.com",
}