From 1f8e2777a89d104ae64a0ce59c9570e2a3df1b1b Mon Sep 17 00:00:00 2001 From: Mehul Patel Date: Fri, 24 Mar 2017 11:54:46 +0530 Subject: [PATCH] [FIX] website_theme_install : website module install to redirect theme. Use case when it happens: * Install website module * Should redirect to theme selection Current behavior : Nothing happens This error come from the commit c56b7462214114079823c38d38de9f194757d20c This commit change the default state of ir.actions.server from 'code' to 'object_write'. That causes the existing ir action servers that use python code and has not the field state declared to crash. This commit update the ir.actions.server and set the state to code. --- addons/website_theme_install/views/views.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/website_theme_install/views/views.xml b/addons/website_theme_install/views/views.xml index 6128d5b2d51..6113ecbcf84 100644 --- a/addons/website_theme_install/views/views.xml +++ b/addons/website_theme_install/views/views.xml @@ -56,6 +56,7 @@ Config: Choose Your Theme + code model.update_list() action = {