[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:
parent
34ba5154e2
commit
e8783d1a8a
|
@ -28,6 +28,7 @@ from openerp.exceptions import Warning
|
||||||
class event_type(models.Model):
|
class event_type(models.Model):
|
||||||
""" Event Type """
|
""" Event Type """
|
||||||
_name = 'event.type'
|
_name = 'event.type'
|
||||||
|
_description = 'Event Type'
|
||||||
|
|
||||||
name = fields.Char(string='Event Type', required=True)
|
name = fields.Char(string='Event Type', required=True)
|
||||||
default_reply_to = fields.Char(string='Default Reply-To',
|
default_reply_to = fields.Char(string='Default Reply-To',
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<record id="action_client_event_menu" model="ir.actions.client">
|
<record id="action_client_event_menu" model="ir.actions.client">
|
||||||
<field name="name">Open Event Menu</field>
|
<field name="name">Open Event Menu</field>
|
||||||
<field name="tag">reload</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>
|
||||||
<record id="base.open_menu" model="ir.actions.todo">
|
<record id="base.open_menu" model="ir.actions.todo">
|
||||||
<field name="action_id" ref="action_client_event_menu"/>
|
<field name="action_id" ref="action_client_event_menu"/>
|
||||||
|
|
Loading…
Reference in New Issue