summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/graph
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2019-01-14 13:02:06 +0000
committerNicolas Lempereur <nle@odoo.com>2019-01-24 12:26:31 +0000
commit1388b7f0d8a2a66a5e96fc53bebc536e20a15f04 (patch)
tree341b99d0342601af5d22f2ed7a7e35ce32fcfe68 /addons/web/static/src/js/views/graph
parent9ee099458b5a4a935bba5802fe393b084f120e83 (diff)
[FIX] base: remove copied views before uninstall
In dff64b6f7ca some copied views with no link to a module would be removed after module uninstall. But this has some side effects when the website module is being removed. For example: - website_theme_install, website are installed - website is uninstalled (which will uninstall website_theme_install) - website.theme_customize view can't be removed because it is used by copied view website_theme_install.customize_modal - after uninstall _remove_copied_views will remove the view website.theme_customize but when trying to remove associated website.page will throw an error because website_page table does not exist This issue does not happen if we uninstall first website_theme_install then website (since like this the reference is not an issue). The issue also happen with overriding views in theme_bootstrap and possibly elsewhere. With this changeset, copied views are removed before uninstalling module data. opw-1924714 closes #30191
Diffstat (limited to 'addons/web/static/src/js/views/graph')
0 files changed, 0 insertions, 0 deletions