flectra/addons/mail/data/mail_channel_data.xml

23 lines
1.0 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
2018-01-16 11:34:37 +01:00
<flectra>
<data noupdate="1">
<record model="mail.channel" id="channel_all_employees">
<field name="name">general</field>
<field name="group_ids" eval="[(4, ref('base.group_user'))]"/>
<field name="description">General announcements for all employees.</field>
</record>
<!-- notify all employees of module installation -->
<record model="mail.message" id="module_install_notification" context="{'mail_notify_noemail': True}">
<field name="model">mail.channel</field>
<field name="res_id" ref="mail.channel_all_employees"/>
<field name="message_type">email</field>
<field name="subtype_id" ref="mail.mt_comment"/>
2018-01-16 11:34:37 +01:00
<field name="subject">Welcome to Flectra!</field>
<field name="body"><![CDATA[<p>Welcome to the #general channel.</p>
<p>This channel is accessible to all users to <b>easily share company information</b>.</p>]]></field>
</record>
</data>
2018-01-16 11:34:37 +01:00
</flectra>