跳到主要内容

dsh-odoo-lint

已验证

dsh-odoo-lint · v0.1.0-alpha.9 · MIT

odoo-lint for DeepSeek Harness: lint and fix Odoo addons, and lint every addon file the agent edits

安装

dsh plugin add dsh-odoo-lint

用 dsh --profile default --dump-config 确认 layer 已生效 —— 参见安装指南。

源码

标签

作者

说明文档

odoo-lint for DeepSeek Harness

Lints and fixes Odoo addons with odoo-lint (odl) in DeepSeek Harness (dsh): pylint-odoo's checks, OCA's manifest, XML and PO checks, translation files Odoo cannot load, and upgrade checks for newer Odoo versions.

The bundle has three parts:

  • MCP server (odl mcp) with the tools check, fix (or a diff with dry_run), upgrade_check and rule (explain a code).
  • Hook, through dsh's Claude Code hooks bridge: after the agent edits a file in an Odoo addon, it lints that file and gives the agent the findings.
  • Skill: when to use the tools, how to treat findings and fixes, and how Odoo loads translations.

Install

dsh plugin --profile tui add dsh-odoo-lint
dsh --profile tui --dump-config   # shows the odoo-lint rows

The bundle runs odl from the project's .venv, then from PATH, and otherwise the odoo-lint release with the plugin's version, from PyPI through uvx. Install it with uv tool install odoo-linter or pip install odoo-linter.

License

MIT