odoo-report

odoo-report is a skill for Claude Code from ahmed-lakosha/odoo-plugins. It costs 687 tokens per session (4,072 once invoked), scanned B, original, MIT.

A toolkit for creating and maintaining Odoo email templates and QWeb PDF reports. Odoo is business software, and QWeb is its template language for generating documents and email content.

In plain words
What is it for?
Creating, reviewing, previewing, debugging, validating, and migrating Odoo email templates and PDF reports across Odoo versions 14 through 19.
Why use it?
It helps find and fix broken templates, rendering problems, and version differences before they affect users or deployments.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: $skill-name invocation.

Part of the odoo-report-plugin plugin — 1 skill, 1 command shipped together

Good fit Creating, reviewing, previewing, debugging, validating, and migrating Odoo email templates and PDF reports across Odoo versions 14 through 19.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ahmed-lakosha/odoo-plugins/odoo-report
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ahmed-lakosha/odoo-plugins --skill odoo-report
Clone the repo
git clone --depth 1 https://github.com/ahmed-lakosha/odoo-plugins

Made for: Claude Code.

Or install odoo-report-plugin, the plugin that ships this one along with the rest of its 1 skill, 1 command.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for odoo-report

README.md
[![agentmods](https://agentmods.dev/badge/skills/ahmed-lakosha/odoo-plugins/odoo-report/github.svg)](https://agentmods.dev/skills/ahmed-lakosha/odoo-plugins/odoo-report)
Your own site
<a href="https://agentmods.dev/skills/ahmed-lakosha/odoo-plugins/odoo-report"><img src="https://agentmods.dev/badge/skills/ahmed-lakosha/odoo-plugins/odoo-report/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for odoo-report

Your own site · 80×15
<a href="https://agentmods.dev/skills/ahmed-lakosha/odoo-plugins/odoo-report"><img src="https://agentmods.dev/badge/skills/ahmed-lakosha/odoo-plugins/odoo-report.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 687 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,072 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00687 $0.04072
Opus 5 $0.00344 $0.02036
Sonnet 5 $0.00137 $0.00814
Haiku 4.5 $0.00069 $0.00407

Measured 12d ago against content hash 3087c35ee4cb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade B, and why

odoo-report scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo apt-get install wkhtmltopdf
odoo-report-plugin/odoo-report/SKILL.md · 490 lines

How it starts

The opening of the file, as written. The whole thing — 490 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Odoo Email Templates & QWeb Reports Skill (v2.1)

A skill for creating, managing, debugging, and migrating Odoo email templates and QWeb reports across versions 14-19.

Workflows

This skill handles all template and report workflows via natural language:

What you want What to say
Create email template "Create an email template for sale.order quotation"
Create QWeb PDF report "Create a QWeb PDF report for purchase.order"
Migrate templates "Migrate this template from Odoo 14 to 17"
Analyze template "Analyze this template for issues"
Debug rendering "Debug why my email shows plain text"
Fix template "Fix the broken QWeb expressions"
Validate before deploy "Validate this template before deployment"
List templates "List all templates for sale.order"
Preview output "Preview this email template"

Configuration

  • Supported Versions: Odoo 14, 15, 16, 17, 18, 19
  • Core Model: mail.template
  • Rendering Engines: inline_template (Jinja2-like) for headers, QWeb for body_html

User overrides: Check for odoo-report.local.md in the project .claude/ directory. If found, use its YAML frontmatter settings (default_version, author, default_layout) as defaults.


Template Architecture

mail.template
├── Inherits: mail.render.mixin (rendering engine)
├── Inherits: template.reset.mixin (reset - Odoo 16+)
│
├── Header Fields (inline_template engine):
│   subject, email_from, email_to, email_cc, reply_to, partner_to
│
├── Content Fields (QWeb engine):
│   body_html
│
├── Attachment Fields:
│   attachment_ids (static)
│   report_template (Odoo 14-16) / report_template_ids (Odoo 17+)
│   report_name (dynamic filename)
│
└── Configuration:
    email_layout_xmlid, auto_delete, mail_server_id,
    use_default_to, scheduled_date, template_category (16+)

Rendering Flow

mail.template.send_mail_batch(res_ids)
  ├─► _generate_template(res_ids, render_fields)
  │     ├─► _classify_per_lang()
  │     ├─► _render_field() per field (inline_template or qweb)
  │     ├─► _generate_template_recipients()
  │     ├─► _generate_template_attachments() (static + PDF report)
  │     └─► Return rendered values dict
  ├─► Create mail.mail records
  ├─► Apply email_layout_xmlid (if set)
  └─► Send via mail_server_id or default

Read the full file on GitHub · 490 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 490 lines · 687 tokens per session scan B 3087c35ee4cb

Subscribe to this mod's changes

odoo-report is a skill published in the GitHub repository ahmed-lakosha/odoo-plugins (74 stars, last pushed 5mo ago), licensed MIT. It adds 687 tokens to every session and 4,072 once invoked, about $0.0034 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories