Since this PR (odoo/odoo#203227), the account.report.expression are explicitely set and when I run the migration from 16.0 to 17.0, I get a contraint error :
psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint "account_report_expression_line_label_uniq"
DETAIL: Key (report_line_id, label)=(165, balance) already exists.
Module
l10n_fr