odoo-xml-views-builder

Solid

Expert at building Odoo XML views: Form, List, Kanban, Search, Calendar, and Graph. Generates correct XML for Odoo 14-17 with proper visibility syntax.

AI & Automation 39,350 stars 6386 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Odoo XML Views Builder ## Overview This skill generates and reviews Odoo XML view definitions for Kanban, Form, List, Search, Calendar, and Graph views. It understands visibility modifiers, `groups`, `domain`, `context`, and widget usage across Odoo versions 14–17, including the migration from `attrs` (v14–16) to inline expressions (v17+). ## When to Use This Skill - Creating a new form or list view for a custom model. - Adding fields, tabs, or smart buttons to an existing view. - Building a Kanban view with color coding or progress bars. - Creating a search view with filters and group-by options. ## How It Works 1. **Activate**: Mention `@odoo-xml-views-builder` and describe the view you want. 2. **Generate**: Get complete, ready-to-paste XML view definitions. 3. **Review**: Paste existing XML and get fixes for common mistakes. ## Examples ### Example 1: Form View with Tabs ```xml <record id="view_hospital_patient_form" model="ir.ui.view"> <field name="name">hospital.patient.form</field> <field name="model">hospital.patient</field> <field name="arch" type="xml"> <form string="Patient"> <header> <button name="action_confirm" string="Confirm" type="object" class="btn-primary" invisible="state != 'draft'"/> <field name="state" widget="statusbar" statusbar_visible="draft,confirmed,done"/> </header> <sheet> ...

Details

Author
sickn33
Repository
sickn33/antigravity-awesome-skills
Created
4 months ago
Last Updated
today
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

Data & Documents Listed

odoo-17.0

Odoo 17 development reference for Python models and ORM (search, domain, read_group, compute fields), XML/CSV data and views, OWL/JS client code, QWeb reports, security (ACL, record rules, groups), cron and server actions, migrations and module upgrades, tests, i18n, and performance. Use this skill whenever work involves Odoo 17 or custom addons—even if the user only pastes a traceback, mentions addons/ or __manifest__.py, describes form/tree/kanban/XML errors, HTTP controllers, or business rules on models—including building features, fixing bugs, refactoring, or reviewing addon code.

1 Updated today
Immoderate-humulin783
Data & Documents Listed

odoo-18.0

Odoo 18 development reference for Python models and ORM (search, domain, read_group, compute fields), XML/CSV data and views, OWL/JS client code, QWeb reports, security (ACL, record rules, groups), cron and server actions, migrations and module upgrades, tests, i18n, and performance. Use this skill whenever work involves Odoo 18 or custom addons—even if the user only pastes a traceback, mentions addons/ or __manifest__.py, describes form/list/kanban/XML errors, HTTP controllers, or business rules on models—including building features, fixing bugs, refactoring, or reviewing addon code.

1 Updated today
Immoderate-humulin783
AI & Automation Solid

odoo-module-developer

Expert guide for creating custom Odoo modules. Covers __manifest__.py, model inheritance, ORM patterns, and module structure best practices.

39,350 Updated today
sickn33
Data & Documents Solid

odoo-qweb-templates

Expert in Odoo QWeb templating for PDF reports, email templates, and website pages. Covers t-if, t-foreach, t-field, and report actions.

39,350 Updated today
sickn33
AI & Automation Solid

odoo-orm-expert

Master Odoo ORM patterns: search, browse, create, write, domain filters, computed fields, and performance-safe query techniques.

39,350 Updated today
sickn33