odoo-orm-expert
Master Odoo ORM patterns: search, browse, create, write, domain filters, computed fields, and performance-safe query techniques.
npx skills add sickn33/agentic-awesome-skills --skill odoo-orm-expert --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Odoo ORM Expert ## Overview This skill teaches you Odoo's Object Relational Mapper (ORM) in depth. It covers reading/writing records, building domain filters, working with relational fields, and avoiding common performance pitfalls like N+1 queries. ## When to Use This Skill - Writing `search()`, `browse()`, `create()`, `write()`, or `unlink()` calls. - Building complex domain filters for views or server actions. - Implementing computed, stored, and related fields. - Debugging slow queries or optimizing bulk operations. ## How It Works 1. **Activate**: Mention `@odoo-orm-expert` and describe what data operation you need. 2. **Get Code**: Receive correct, idiomatic Odoo ORM code with explanations. 3. **Optimize**: Ask for performance review on existing ORM code. ## Examples ### Example 1: Search with Domain Filters ```python # Find all confirmed sale orders for a specific customer, created this year import datetime start_of_year = datetime.date.today().replace(month=1, day=1).strftime('%Y-%m-%d') orders = self.env['sale.order'].search([ ('partner_id', '=', partner_id), ('state', '=', 'sale'), ('date_order', '>=', start_of_year), ], order='date_order desc', limit=50) # Note: pass d
- Overview
- When to Use This Skill
- How It Works
- Examples
- Example 1: Search with Domain Filters
- Example 2: Computed Field
- Example 3: Safe Bulk Write (avoid N+1)
- Best Practices
- Limitations
What does the odoo-orm-expert skill do?
Master Odoo ORM patterns: search, browse, create, write, domain filters, computed fields, and performance-safe query techniques.
How do I install it?
Run `npx skills add sickn33/agentic-awesome-skills --skill odoo-orm-expert --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.