summaryrefslogtreecommitdiff
path: root/addons/web/static
diff options
context:
space:
mode:
authorNicolas Seinlet <nse@openerp.com>2019-01-18 09:20:02 +0000
committerNicolas Seinlet <nse@openerp.com>2019-01-18 09:20:02 +0000
commitf8e37d6a808a302cda973bc0c6f2b275355ef74c (patch)
treebc3bb1e9e1542faa831979809ff9ace2bd9c05cd /addons/web/static
parent649ea4927e30bf19168f76e02f149912c15cae13 (diff)
[IMP] improve overridden sql constraints support
If module A define an sql constraints and module B, which depends on module A, override the sql constraint, we must ensure having only the last definition in constraints list. Having the two versions in the list makes the ORM continuously trying to drop the second version by the first one, then recreate the second version, when performing operations like an upgrade a module B. An illustration of this is the login_key on res.users, which is unique per login in base, but unique per (login, website) in website. closes odoo/odoo#30334
Diffstat (limited to 'addons/web/static')
0 files changed, 0 insertions, 0 deletions