[FIX] all mail dependencies: replace message_post call by normal record + review...
[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         <record model="mail.message" id="module_install_notification">
18             <field name="model">mail.group</field>
19             <field name="res_id" ref="mail.group_all_employees"/>
20             <field name="type">notification</field>
21             <field name="subject">Events Organisation application installed!</field>
22             <field name="body">From the top Events menu, you can organize events, manage registrations, automate communication around your event and sell events through your quotations.</field>
23         </record>
24
25     </data>
26 </openerp>