summaryrefslogtreecommitdiff
path: root/addons/theme_default/data/theme_default_data.xml
diff options
context:
space:
mode:
authorDenis Vermylen (dve) <dve@odoo.com>2016-09-02 11:57:09 +0200
committerDenis Vermylen (dve) <dve@odoo.com>2016-09-02 17:42:42 +0200
commite142d78d920570be542bffccd4c06cf77d4d9eb5 (patch)
treeb698c3d7c383a2e1a7237e260335d3f5ea8ca799 /addons/theme_default/data/theme_default_data.xml
parent3311c578397eadb29c0ff7df6779a5dd15946097 (diff)
[IMP] theme_*: add ir.actions.todo to themes
installing a theme redirects to the website instead of the backend menu.
Diffstat (limited to 'addons/theme_default/data/theme_default_data.xml')
-rw-r--r--addons/theme_default/data/theme_default_data.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/addons/theme_default/data/theme_default_data.xml b/addons/theme_default/data/theme_default_data.xml
new file mode 100644
index 00000000000..04cf520a699
--- /dev/null
+++ b/addons/theme_default/data/theme_default_data.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<odoo>
+ <record id="action_website" model="ir.actions.act_url">
+ <field name="name">Website</field>
+ <field name="url">/</field>
+ <field name="target">self</field>
+ </record>
+ <record id="base.open_menu" model="ir.actions.todo">
+ <field name="action_id" ref="action_website"/>
+ <field name="state">open</field>
+ </record>
+</odoo> \ No newline at end of file