2024-05-03 12:40:35 +03:00
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<odoo>
|
|
|
|
|
<data noupdate="1">
|
|
|
|
|
|
|
|
|
|
<record model="discuss.channel" id="mail.channel_all_employees">
|
|
|
|
|
<field name="name">general</field>
|
|
|
|
|
<field name="description">General announcements for all employees.</field>
|
|
|
|
|
</record>
|
|
|
|
|
|
|
|
|
|
<!-- notify all employees of module installation -->
|
|
|
|
|
<record model="mail.message" id="mail.module_install_notification">
|
|
|
|
|
<field name="model">discuss.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"/>
|
2024-05-07 14:05:47 +03:00
|
|
|
|
<field name="subject">Добро пожаловать в Talisman!</field>
|
|
|
|
|
<field name="body"><![CDATA[<p>Добро пожаловать в канал #general.</p>
|
|
|
|
|
<p>Этот канал доступен для всех пользователей, <b>чтобы легко делиться информацией о компании</b>.</p>]]></field>
|
2024-05-03 12:40:35 +03:00
|
|
|
|
</record>
|
|
|
|
|
|
|
|
|
|
<record model="discuss.channel.member" id="channel_member_general_channel_for_admin">
|
|
|
|
|
<field name="partner_id" ref="base.partner_admin"/>
|
|
|
|
|
<field name="channel_id" ref="mail.channel_all_employees"/>
|
|
|
|
|
<field name="fetched_message_id" ref="mail.module_install_notification"/>
|
|
|
|
|
<field name="seen_message_id" ref="mail.module_install_notification"/>
|
|
|
|
|
</record>
|
|
|
|
|
|
|
|
|
|
<record model="discuss.channel" id="mail.channel_all_employees">
|
|
|
|
|
<field name="group_ids" eval="[Command.link(ref('base.group_user'))]"/>
|
|
|
|
|
</record>
|
|
|
|
|
</data>
|
|
|
|
|
</odoo>
|