[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 c56b746221
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.
This commit is contained in:
@@ -56,6 +56,7 @@
|
||||
<record id="theme_install_todo_action" model="ir.actions.server">
|
||||
<field name="name">Config: Choose Your Theme</field>
|
||||
<field name="model_id" ref="model_ir_module_module"/>
|
||||
<field name="state">code</field>
|
||||
<field name="code">
|
||||
model.update_list()
|
||||
action = {
|
||||
|
||||
Reference in New Issue
Block a user