[MERGE] Merged with addons/trunk.
[odoo/odoo.git] / addons / event / event_data.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data noupdate="1">
4         <!-- After installation of the module, open the related menu -->
5         <record id="action_client_event_menu" model="ir.actions.client">
6             <field name="name">Open Event Menu</field>
7             <field name="tag">reload</field>
8             <field name="params" eval="{'menu_id': ref('event.event_main_menu')}"/>
9         </record>
10         <record id="todo_open_event_menu" model="ir.actions.todo">
11             <field name="action_id" ref="action_client_event_menu"/>
12             <field name="type">automatic</field>
13             <field name="sequence">100</field>
14         </record>
15
16         <!-- notify all employees of module installation -->
17         <function model="mail.group" name="message_post">
18             <!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->
19             <value eval="[ref('mail.group_all_employees')]"/>
20             <value>From the top menu Events, you can organize events, manage registrations, automate communication around your event and sell events through your quotations.</value>
21             <value>Module Events Organisation has been installed</value>
22         </function>
23     </data>
24 </openerp>