summaryrefslogtreecommitdiff
path: root/addons/note/note_data.xml
diff options
context:
space:
mode:
authorAntonin Bourguignon <abo@openerp.com>2012-08-17 18:39:53 +0200
committerAntonin Bourguignon <abo@openerp.com>2012-08-17 18:39:53 +0200
commit92b32aa7672c31619f2b44c17933d27acaf4ead7 (patch)
tree5904da6330e19c5ec510b614d27bdad3d681ab93 /addons/note/note_data.xml
parentb34138bbeb72312816676546251a57e2951995cf (diff)
[FIX] note: properly override the 'Feeds' top level item with 'Home'. also add a menu section and sub menuitems with temporary actions
bzr revid: abo@openerp.com-20120817163953-3aaoe31xlxdnn7vd
Diffstat (limited to 'addons/note/note_data.xml')
-rw-r--r--addons/note/note_data.xml13
1 files changed, 12 insertions, 1 deletions
diff --git a/addons/note/note_data.xml b/addons/note/note_data.xml
index 8d8516b895f..8e896e19783 100644
--- a/addons/note/note_data.xml
+++ b/addons/note/note_data.xml
@@ -2,10 +2,21 @@
<openerp>
<data>
+ <record id="action_dummy" model="ir.actions.client">
+ <field name="name">News Feed</field>
+ <field name="tag">mail.wall</field>
+ <field name="params" eval="{'search_view_id': ref('view_message_search_wall')}"/>
+ </record>
+
<!-- Rename the 'Feeds' main menu into 'Home' -->
<!-- Top menu item -->
<menuitem name="Home"
- id="mail_feeds_main"/>
+ id="mail.mail_feeds_main"/>
+
+ <menuitem name="My Stuff" id="note_my_stuff" parent="mail.mail_feeds_main"/>
+ <menuitem name="Agenda" id="note_agenda" parent="note_my_stuff" sequence="10" action="action_dummy" type="client"/>
+ <menuitem name="Notes" id="note_notes" parent="note_my_stuff" sequence="20"/>
+ <menuitem name="Contacts" id="note_contacts" parent="note_my_stuff" sequence="30"/>
<record model="note.stage" id="note_stage_today">
<field name="name">Today</field>