summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/transcoder.js
diff options
context:
space:
mode:
authorGoffin Simon <sig@odoo.com>2017-03-14 16:56:17 +0100
committerGoffin Simon <sig@odoo.com>2017-03-15 09:17:53 +0100
commit9f9657c04b9ec1e7151f562f74b61efc92df58fa (patch)
treef5e60bd8886970804899b1f20142e3c89a53b2d6 /addons/web_editor/static/src/js/transcoder.js
parent8adc2ef440aec35a3829ebf26b3759dbc0b39903 (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. In stable version, the right fix would be to put an attribute ondelete=cascade on the field model of ir.model.constraint. In 10.0, the ir.model.constraint 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_editor/static/src/js/transcoder.js')
0 files changed, 0 insertions, 0 deletions