diff options
| author | Adrian Torres <adt@odoo.com> | 2017-11-21 11:13:24 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-21 11:13:24 +0100 |
| commit | 31ba0fb41b5b468558e10acff096dfbbf2b720cd (patch) | |
| tree | 64a41a153ed351b7ce2454de68285c9515ce9ce2 /addons/web/static/src/xml/base.xml | |
| parent | 0831610d6af8835c25102c04295096594e9d4907 (diff) | |
[FIX] ir_module_module: unlink uninstalled modules (#21111)
Before this revision, unlinking a module which has been uninstalled at
least once would raise an Exception because base_module_uninstall
contains a field model_id which is required. The unlink method of
ir_module_module would try to set this field to NULL which is of course
a constraint violation.
This is fixed by manually unlinking the respective base_module_uninstall
records before the unlinking of the ir_module_module record itself
Fixes #20720
DO NOT FORWARD-PORT
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions
