summaryrefslogtreecommitdiff
path: root/addons/website/data/website_data.xml
diff options
context:
space:
mode:
authorRohan Patel <rop@odoo.com>2017-03-03 16:30:37 +0100
committerThibault Delavallée <tde@odoo.com>2017-03-03 16:57:06 +0100
commit79597a2b84c7ffab18f2c7b4d9015eac97e45707 (patch)
treeaf578f5e3ba7856fcb001cf5dfa2b6412c7b7429 /addons/website/data/website_data.xml
parent47b532638e82db78a7b9a4d4fb437a1fa29903e6 (diff)
[REF] website: merge Website and Website Admin menu items
This commit merge the two website menu items in order to ease user flow inside Odoo. When clicking on the Website item a server action is called that decides to redirect the user either to the dashboard if the user is an admin or a website publisher, either to the website for other people. Overriding this method allows to define a specific behavior. Future commit will also redirect sales people to the website dashboard. Dashboard itself is customized to add a header used to display a website button. It will be used in future commits to add other new stuff to the dashboard.
Diffstat (limited to 'addons/website/data/website_data.xml')
-rw-r--r--addons/website/data/website_data.xml7
1 files changed, 0 insertions, 7 deletions
diff --git a/addons/website/data/website_data.xml b/addons/website/data/website_data.xml
index cef9cc4b437..9344ed70e4a 100644
--- a/addons/website/data/website_data.xml
+++ b/addons/website/data/website_data.xml
@@ -65,13 +65,6 @@
<field name="target">self</field>
</record>
- <record id="menu_website" model="ir.ui.menu">
- <field name="name">Website</field>
- <field name="sequence" eval="200"/>
- <field name="web_icon">website,static/description/icon.png</field>
- <field name="action" ref="action_website"/>
- </record>
-
<record id="base.open_menu" model="ir.actions.todo">
<field name="action_id" ref="action_website"/>
<field name="state">open</field>