[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
This commit is contained in:
Antonin Bourguignon 2012-08-17 18:39:53 +02:00
parent b34138bbeb
commit 92b32aa767
1 changed files with 12 additions and 1 deletions

View File

@ -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>