summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorDamien Bouvy <dbo@odoo.com>2019-11-08 20:33:25 +0000
committerDamien Bouvy <dbo@odoo.com>2019-12-20 11:16:01 +0000
commit59eee6ba5fed0ba74221f44a296ec6efedbc2527 (patch)
tree2882272edff00cc0550faf33d6b4f8617c8912fb /addons/web/static/src/js/views/basic/basic_controller.js
parent220eb4db391d8ba49dd26bdd3d8af1c27b433d78 (diff)
[IMP] base_import_module: clean up after itself
Uninstalling an imported module leaves behind an ir.module.module entry which is entirely useless: it cannot be reinstalled without re-uploading the module. A quick solution is provided here by simply cleaning up after the uninstallation and deleting the ir.module.module records of imported modules that just got removed. Another possibility could be to store the uploaded module for good in an attachment and re-load it from there upon re-installation, but that would lead to some conflict with Studio, as uninstalling the studio_customization module usually means you want to get rid of it for good.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions