skillfed

pylint-odoo

Pylint plugin for Odoo

pylint-odoo v10.0.9 226.3K downloads/30d#9,201 on PyPI169
AGPL license APGL3 Active released

What it is and what it does

pylint-odoo extends Pylint with Odoo-specific linting rules that catch common mistakes and enforce Odoo development conventions. It validates manifest files, detects deprecated API usage, enforces naming conventions for computed and search methods, flags SQL injection risks, checks for proper exception handling, and validates translation usage patterns. The plugin integrates directly into Pylint's plugin system and can be used standalone or as part of a pre-commit workflow.

The package is designed for developers working on Odoo modules who want automated enforcement of OCA coding standards. It catches issues ranging from manifest format problems and missing required files to concerns like improper context overrides, unsafe external requests without timeouts, and deprecated method calls. With many distinct checks covering manifest validation, code patterns, and Odoo API usage, it serves as a guardrail for maintaining consistent, maintainable Odoo module code.

Use it for:

  • Validate Odoo module manifests for required keys, allowed licenses, and correct version format before deployment
  • Catch deprecated Odoo API calls and suggest modern alternatives during code review
  • Enforce naming conventions for computed, inverse, and search methods in Odoo models
  • Detect SQL injection vulnerabilities and unsafe external requests in module code
  • Validate translation strings and ensure proper use of Odoo's translation framework
  • Integrate into CI/CD pipelines to automatically check Odoo modules for OCA compliance

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

A Pylint plugin that adds Odoo-specific code quality checks to enforce Odoo development conventions and best practices.

Yes. The package is actively maintained, has low install friction, and provides substantial value for Odoo development teams. It covers Odoo-specific concerns that generic linters cannot catch. The AGPLv3+ license requires careful review if you plan to distribute proprietary modifications, but using it as a development tool carries no restrictions. Recommended for any team working on Odoo modules.

Install

pylint-odoo on PyPI

pip

pip install pylint-odoo

uv

uv add pylint-odoo

poetry

poetry add pylint-odoo

Installing pylint-odoo

Before you install

Low friction installation with 3 runtime dependencies (pylint, pylint-plugin-utils, dill). Active maintenance with a release 4 days ago and last commit on 2026-08-12; the project has been maintained since 2015-10-15.

License in practice

Licensed under AGPLv3+. Use in proprietary projects requires careful consideration of copyleft obligations; the license requires derivative works and modifications to be distributed under the same terms.

Quickstart

pip install pylint-odoo

pylint --load-plugins=pylint_odoo -e odoolint path/to/module

Verify before relying

  • Whether all Odoo versions are supported or if specific version compatibility exists beyond the checks listed
  • Performance impact when running against large Odoo module codebases
  • Exact count of distinct checks provided by the plugin

Package facts

License APGL3 (agpl)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 3 — pylint-plugin-utils, pylint, dill
Maintenance actively maintained — 4 days since the last release
Last repo commit
First released
Downloads 226,347/month — #9,201 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pylint_odoo-10.0.9-py3-none-any.whl

Development Status :: 6 - MatureEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: Information TechnologyLicense :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)Operating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15Topic :: Software Development :: DebuggersTopic :: Software Development :: Quality AssuranceTopic :: Software Development :: Testing

Tags

odoo code quality checkspylint odoo pluginodoo linting rulesodoo module validationodoo coding standardspylint odoo conventionsodoo manifest checks
odoolintingcode-quality

More Testing packages