Odoo upgrade guide

Odoo 18 to 19: what breaks in your custom modules

Odoo 19 renamed groups_id to group_ids on users, views, menus and actions, and stopped creating SQL constraints declared with _sql_constraints. The first change breaks installation. The second breaks nothing visible: the constraint is simply gone.

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 18.0 and 19.0 that affects them. Each one was checked in the official Odoo sources of version 19.0.

How often it happens, in Odoo's own code

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

ChangeOccurrencesModules
self._cr, self._uid, self._context925107
@route(type='json')40884
groups_id renamed group_ids26356
_sql_constraints ignored22495
Access and cache helpers deprecated in 19.06226
read_group() deprecated2917

Every change, with the fix

Check your own modules

Upgrade Readiness is a free module on the Odoo Apps Store. Install it on your 18.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 18.0 on the Apps Store

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.