[FIX] event: jump on the correct menu after installing

the event application (event kanban view).

Also added a missing description on event.type model.
This commit is contained in:
Thibault Delavallée 2014-10-01 10:45:59 +02:00
parent 34ba5154e2
commit e8783d1a8a
2 changed files with 2 additions and 1 deletions

View File

@ -28,6 +28,7 @@ from openerp.exceptions import Warning
class event_type(models.Model):
""" Event Type """
_name = 'event.type'
_description = 'Event Type'
name = fields.Char(string='Event Type', required=True)
default_reply_to = fields.Char(string='Default Reply-To',

View File

@ -5,7 +5,7 @@
<record id="action_client_event_menu" model="ir.actions.client">
<field name="name">Open Event Menu</field>
<field name="tag">reload</field>
<field name="params" eval="{'menu_id': ref('event.event_main_menu')}"/>
<field name="params" eval="{'menu_id': ref('event.menu_event_event')}"/>
</record>
<record id="base.open_menu" model="ir.actions.todo">
<field name="action_id" ref="action_client_event_menu"/>