diff options
| author | Goffin Simon <sig@odoo.com> | 2017-03-14 17:42:08 +0100 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2017-03-21 15:24:33 +0100 |
| commit | d84b5c4c499d2c926cf868df83fa3f6895ee715d (patch) | |
| tree | 7ded3b1777963e8f3d78bdebdbe07f44cdcd431d /addons/web/static/src/js/views/basic | |
| parent | c24bc92173b6c90c0021038eb238b7b8ad49524a (diff) | |
[FIX] base: unlinking ir.model.constraint
When unlinking an ir.model, all the ir.model.constraint linked to this
ir.model must be removed to avoid to call unexisting model.
The ir.model.constraint records, are created with module = the module where the related field
has been declared. But when unlinking the ir.model in function _module_data_uninstall, the related
ir.model.constraint to remove were chosen according to the removed modules. So with models
declaring constraints on inherited fields, some problems occured because the model could be removed
and not all the related constraints.
opw:716032
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
