upgrade-ir-model-access-csv (U2001)#

The manifest loads ir.model.access.csv, a model replaced by ir.access in Odoo 20.0.

Applies to Odoo 20.0 and later.

What it does#

Reports ir.model.access.csv files in the manifest’s data.

Why is this bad?#

Odoo 20.0 replaced ir.model.access and ir.rule by ir.access, loaded from ir.access.csv (id,name,model_id,group_id/id,operation,domain): the old file fails to load. Odoo’s upgrade script 19.4-00-ir-access converts the files; review the result, since a row without a group means a restriction for everyone.