1 <?xml version="1.0" encoding="utf-8"?>
6 Override the original action to set another help field and/or
7 another context field, more suited for portal members
9 <record model="ir.actions.act_window" id="action_event_view">
10 <field name="name">Events</field>
11 <field name="type">ir.actions.act_window</field>
12 <field name="res_model">event.event</field>
13 <field name="view_mode">kanban,calendar,tree</field>
14 <field name="context">{"search_default_upcoming":1}</field>
15 <field name="search_view_id" ref="event.view_event_search"/>
16 <field name="help">There are no public events.</field>
19 <menuitem name="Events" id="portal_company_events" parent="portal.portal_company"
20 action="action_event_view" sequence="30"/>