summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorfw-bot <otis@odoo.com>2019-10-24 14:26:00 +0000
committerAdrian Torres <adt@odoo.com>2019-10-25 06:51:54 +0000
commitcddddf00783ed79e33fb7add830327f66361a0ce (patch)
tree8cff38b2980a819e68b3dc02d3d16a492675291f /addons/web/static/src/js/fields/basic_fields.js
parentf507df510a7e043df52a6492a1886de5297981a1 (diff)
[FIX] mail: avoid raising errors during uninstall
Raising a python error cannot stop an uninstall, however since the unlink stops early, the calls to super() are never reached, this prevents the deletion of module-related data and leaves crap in the database, not to mention that it potentially prevents the reinstallation of a module because of duplicate data with unique IDs, which is the case for mail. With this patch, we let the registry delete everything related to the mail module when uninstalling, which allows for its reinstallation. Fixes #25138 closes odoo/odoo#39347 Signed-off-by: Adrian Torres (adt) <adt@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions