From antigravity-awesome-skills
Generates and reviews Odoo XML views for Form, List, Kanban, Search, Calendar, and Graph. Supports Odoo 14-17 with visibility modifiers, groups, domains, context, and widget usage.
How this skill is triggered — by the user, by Claude, or both
Slash command
/antigravity-awesome-skills:odoo-xml-views-builderThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
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+).
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+).
@odoo-xml-views-builder and describe the view you want.<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>
<div class="oe_title">
<h1><field name="name" placeholder="Patient Name"/></h1>
</div>
<notebook>
<page string="General Info">
<group>
<field name="birth_date"/>
<field name="doctor_id"/>
</group>
</page>
</notebook>
</sheet>
<chatter/>
</form>
</field>
</record>
<record id="view_hospital_patient_kanban" model="ir.ui.view">
<field name="name">hospital.patient.kanban</field>
<field name="model">hospital.patient</field>
<field name="arch" type="xml">
<kanban default_group_by="state" class="o_kanban_small_column">
<field name="name"/>
<field name="state"/>
<field name="doctor_id"/>
<templates>
<t t-name="kanban-card">
<div class="oe_kanban_content">
<strong><field name="name"/></strong>
<div>Doctor: <field name="doctor_id"/></div>
</div>
</t>
</templates>
</kanban>
</field>
</record>
invisible="condition" (Odoo 17+) instead of attrs for show/hide logic.attrs="{'invisible': [...]}" only if you are targeting Odoo 14–16 — it is deprecated in v17.string attribute on your view record for debugging clarity.<chatter/> (v17) or <div class="oe_chatter"> + field tags (v16 and below) for activity tracking.attrs in Odoo 17 — it is fully deprecated and raises warnings in logs.domain strings in views when a domain field on the model can be used dynamically.<searchpanel>) are not fully covered — those require frontend knowledge.@odoo-qweb-templates for those.npx claudepluginhub sickn33/antigravity-awesome-skills --plugin antigravity-awesome-skillsGenerates and reviews Odoo XML views (Form, List, Kanban, Search, Calendar, Graph) for Odoo 14-17, with correct visibility syntax, groups, and domain usage.
Provides Odoo 17 development references for Python models, ORM, XML views/data, OWL/JS client code, QWeb reports, security, cron actions, migrations, tests, and performance. Ideal for building, fixing, refactoring, or reviewing custom addons.
Scaffolds custom Odoo modules including __manifest__.py, models, views, security; guides inheritance, ORM patterns, onchange/compute methods, and troubleshooting.