Overview
Odoo 17, released October 2023, represented a major modernization effort with 485 community addons. The release focused on frontend technology upgrades, UI refresh, and developer experience improvements. The most impactful change for developers was the removal of the attrs attribute in views.
Frontend Revolution
OWL 2.x Framework
Odoo 17 completed the migration from the legacy widget system to OWL (Odoo Web Library) 2.x for most frontend components. This affects all custom JavaScript/OWL components and widgets from previous versions.
UI Design Refresh
The backend interface received a visual refresh with updated color palette, improved typography, modern card layouts, and refined navigation. Form views, list views, and kanban views all received visual updates while maintaining functional compatibility.
attrs Removal — Major Breaking Change
Odoo 17 removed the attrs attribute from view definitions. Previously, conditional visibility and read-only behavior used XML like attrs="{'invisible': [('state', '=', 'done')]}". In v17, these are replaced with direct attributes:
# Before (v16 and earlier):
# <field name="partner_id" attrs="{'invisible': [('state','=','done')]}" />
# After (v17):
# <field name="partner_id" invisible="state == 'done'" />
# Before: attrs="{'readonly': [('state','!=','draft')], 'required': [('type','=','product')]}"
# After: readonly="state != 'draft'" required="type == 'product'"This change affects every custom module with view definitions. All attrs must be rewritten as direct invisible, readonly, and required attributes with Python-like expressions.
POS Improvements
The Point of Sale module continued its OWL migration with improved performance, better customer display handling, and enhanced kitchen screen functionality. The POS self-order module received significant usability updates.
Website Builder
The website builder received incremental improvements with better snippet editing, improved mobile responsiveness tools, and updated default themes. The drag-and-drop editor became more stable and responsive.
Other Notable Changes
- Improved email marketing with better template editor
- Enhanced project management with burndown charts
- Updated accounting with better bank reconciliation
- New event management features
- Improved HR modules with better leave management
Version Requirements
- Python 3.10+
- PostgreSQL 12+
- Ubuntu 20.04+ or 22.04
- Node.js 16+
Migration Impact
The attrs removal is the single largest migration effort when upgrading from v16 to v17. Every custom view with conditional attributes needs updating. OpenUpgrade and Odoo's migration scripts can automate some of this, but manual review is essential for complex domain expressions.
DeployMonkey Advantage
DeployMonkey supports Odoo 17 deployments and can assist with migration from v16. Our AI agent understands the attrs-to-expression migration pattern and can help validate custom module compatibility.