2012-04-17 12:19:30 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2012-04-17 09:48:39 +00:00
|
|
|
<openerp>
|
|
|
|
<data>
|
2012-05-29 10:01:12 +00:00
|
|
|
|
2012-08-14 12:15:12 +00:00
|
|
|
<!--
|
2012-08-14 14:40:24 +00:00
|
|
|
Override the original action to set another help field and/or
|
|
|
|
another context field, more suited for portal members
|
2012-08-14 12:15:12 +00:00
|
|
|
-->
|
|
|
|
<record model="ir.actions.act_window" id="action_event_view">
|
|
|
|
<field name="name">Events</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">event.event</field>
|
|
|
|
<field name="view_mode">kanban,calendar,tree,form,graph</field>
|
|
|
|
<field name="context">{"search_default_upcoming":1}</field>
|
|
|
|
<field name="search_view_id" ref="event.view_event_search"/>
|
2012-08-16 23:31:10 +00:00
|
|
|
<field name="help">No public events.</field>
|
2012-08-14 12:15:12 +00:00
|
|
|
</record>
|
|
|
|
|
2012-07-02 16:39:39 +00:00
|
|
|
<menuitem name="Events" id="portal_company_events" parent="portal.portal_company"
|
2012-08-14 12:15:12 +00:00
|
|
|
action="action_event_view" sequence="40"/>
|
2012-05-29 10:01:12 +00:00
|
|
|
|
2012-04-17 09:48:39 +00:00
|
|
|
</data>
|
|
|
|
</openerp>
|