diff options
| author | Rajesh Prajapati (OpenERP) <rpr@tinyerp.com> | 2012-10-05 17:35:03 +0530 |
|---|---|---|
| committer | Rajesh Prajapati (OpenERP) <rpr@tinyerp.com> | 2012-10-05 17:35:03 +0530 |
| commit | cdff4611b0a588546afb9b706bbd2d0fbda7bf2f (patch) | |
| tree | 0a0a99b33e52547987ab69b2a29f3ec23c188142 /addons/event/event_data.xml | |
| parent | 7202b8f7efbc76e2a40b1a4a8d7a95ed0d2ce573 (diff) | |
| parent | ba97319054728490e4d8a601382dd6fd2ab4f970 (diff) | |
[MERGE] merge with main addons
bzr revid: rpr@tinyerp.com-20121005120503-07e0zo8ucv8k0q3s
Diffstat (limited to 'addons/event/event_data.xml')
| -rw-r--r-- | addons/event/event_data.xml | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/addons/event/event_data.xml b/addons/event/event_data.xml index 5e34ddcfe02..47efca17d6d 100644 --- a/addons/event/event_data.xml +++ b/addons/event/event_data.xml @@ -12,14 +12,19 @@ <field name="state">open</field> </record> - <!-- notify all employees of module installation --> - <record model="mail.message" id="module_install_notification"> - <field name="model">mail.group</field> - <field name="res_id" ref="mail.group_all_employees"/> - <field name="type">notification</field> - <field name="subject">Events Organisation application installed!</field> - <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> + <!-- mail: event subtype --> + <record id="event.mt_event_registration" model="mail.message.subtype"> + <field name="name">New Registrations</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> |
