odoo/odoo#163646

Created by fw-bot
label
odoo-dev:saas-17.1-15.0-remove_table_constraints-afu-_ZCM-fw
head
cccbee2d22e86c0d9bf641b9085df1b3a64caa07
target
saas-17.1
merged
3 weeks ago by Upgrade, Alvaro Fuentes Suarez (afu)
forward-port of
odoo/odoo#161115

[FW][FIX] core: remove SQL constraints upon ir.model.constraint removal

Otherwise we leave the constraints in the table. Common source of upgrade issues.

---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

Forward-Port-Of: odoo/odoo#161115