Odoo upgrade guide

Odoo 16 to 17: what breaks in your custom modules

Odoo 17 rewrote how views express conditions and replaced the legacy JavaScript framework. A module that installs fine on 16 often fails to install on 17 because of attrs in a single view.

Odoo's upgrade service migrates your data and the standard modules. Custom modules, and third-party modules from the Apps Store, are yours to port. This page lists every change we know of between 16.0 and 17.0 that affects them. Each one was checked in the official Odoo sources of version 17.0.

How often it happens, in Odoo's own code

We ran these checks on the 547 standard modules of Odoo 16.0 Community, before Odoo ported them. It shows which changes cost the most. Your modules follow the same patterns.

ChangeOccurrencesModules
"attrs" and "states" in views4,130254
odoo.define() modules559117
Legacy JavaScript widgets (web.*)35890
states= argument on fields20737
name_get() override no longer used10549
ORM methods removed in 17.022
fields_view_get() override no longer called21

Every change, with the fix

Check your own modules

Upgrade Readiness is a free module on the Odoo Apps Store. Install it on your 16.0 database: it reads the source code of your custom modules and your Studio changes, and lists each of these issues with the file, the line and an effort estimate in hours. The analysis runs inside your database and nothing is sent anywhere.

Upgrade Readiness for Odoo 16.0 on the Apps Store

Odoo 16 is no longer one of the three versions covered by the Odoo Enterprise Subscription Agreement. Section 5.1 adds a yearly fee of 25% for databases on older versions.

Prefer not to do the port yourself? We port your custom modules and deliver a tested pull request.

Other versions

Independent guide by Mahjoubi Jalel, not affiliated with or endorsed by Odoo S.A. Odoo is a trademark of Odoo S.A. A mistake or a missing change: support@assetguard.fr.