odoo-view

Explain deprecated Odoo view attributes and their v17–v19 replacements.

1|1|Updated Apr 12, 2026
One-click install
npx skills add https://github.com/halim-23/odoo-dev-plugin --skill odoo-view
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: odoo-view
Source: https://github.com/halim-23/odoo-dev-plugin/tree/main/skills/odoo-view
Command: npx skills add https://github.com/halim-23/odoo-dev-plugin --skill odoo-view

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Odoo XML view development across versions 17.0, 18.0, and 19.0 (CE/EE) is laden with deprecations and migration changes. This guide consolidates knowledge of breaking changes such as attrs/states removal, tree→list migration, kanban-box→card, column_invisible, optional columns, and decoration changes, helping you build and maintain robust views (form, list, kanban, search, pivot, graph, activity, gantt, map) and implement version-aware patterns like view inheritance and ir.actions.

Core Features & Use Cases

  • Deprecation & Migration: Understand and apply v16→v17→v18→v19 changes for views and UI attributes.
  • Comprehensive Coverage: Form, list, kanban, search, pivot, graph, activity, gantt (EE), map (EE), view inheritance, ir.actions.
  • Practical Reference: Use as a knowledge base when building or updating Odoo views, or when answering questions via /odoo-view.

Quick Start

Ask for deprecation-aware guidance on a specific Odoo view type (form, list, kanban) and version to get actionable instructions.

Frequently Asked Questions about odoo-view

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I replace deprecated attrs in Odoo XML views for v17 and v18?

Deprecated `attrs` in Odoo XML views are replaced by direct boolean attributes like `invisible`, `readonly`, and `required` using Python expression syntax for version-aware migration.

Why was the tree view renamed to list in Odoo and how do I migrate?

Odoo renamed `tree` views to `list` to distinguish them from actual tree hierarchies. Migrate by updating XML tags and applying `column_invisible` and optional columns changes for v17+.

What is the modern replacement for kanban-box in Odoo v18 and v19?

The `kanban-box` attribute is replaced by the `card` attribute in Odoo v18 and v19. This update aligns kanban view definitions with modern UI component standards and simplifies snippet syntax.

Does Odoo view inheritance work differently in v19 compared to v16?

Odoo view inheritance mechanisms remain structurally similar across versions, but v19 requires updated syntax for deprecated attributes and adjusted decoration rules to maintain compatibility.

How do I handle decoration changes in Odoo list views during migration?

Odoo list view decoration changes involve updating `decoration-*` attributes to match v17–v19 syntax standards. Ensure exact attribute expressions are applied to avoid runtime rendering errors.