31 lines
1.5 KiB
XML
31 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data noupdate="1">
|
|
<!-- After installation of the module, open the related menu -->
|
|
<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')}"/>
|
|
</record>
|
|
<record id="base.open_menu" model="ir.actions.todo">
|
|
<field name="action_id" ref="action_client_event_menu"/>
|
|
<field name="state">open</field>
|
|
</record>
|
|
|
|
<!-- Event-related subtypes for messaging / Chatter -->
|
|
<record id="event.mt_event_registration" model="mail.message.subtype">
|
|
<field name="name">New Registration</field>
|
|
<field name="res_model">event.event</field>
|
|
<field name="default" eval="False"/>
|
|
</record>
|
|
|
|
<!-- notify all employees of module installation -->
|
|
<function model="mail.group" name="message_post">
|
|
<!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->
|
|
<value eval="[ref('mail.group_all_employees')]"/>
|
|
<value>From the top menu Events, you can organize events, manage registrations, automate communication around your event and sell events through your quotations.</value>
|
|
<value>Module Events has been installed</value>
|
|
</function>
|
|
</data>
|
|
</openerp>
|