summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2019-03-07 11:39:10 +0000
committerRomain Derie <rde@odoo.com>2019-03-07 13:36:10 +0000
commit3f5a6f423d1556191a814367c6194f67ae3aca91 (patch)
tree3441139dc5d740ab132099bc53d9d84b96b7a8b8 /doc/reference/javascript_reference.rst
parentffbdea57f5d0e736a45d1e1d63791ae006943f4e (diff)
[FIX] website: fix install theme error
Commit 5a81d8883 fixed the COW view deletion on module update but introduced an error when installing a theme. Indeed, when installing a theme, the first step is to remove the currently installed theme from the website (by unlinking its ir.ui.view). Commit 5a81d8883 introduced the fact that deleting an ir.ui.view during a module uninstall also search and delete the COW views, calling `_get_specific_views` (that expects a singleton). When installing a theme, it calls `_theme_cleanup` which search COW views and unlink them. If not cow view, unlink is called with an empty record set raising the singleton error. closes odoo/odoo#31662 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions