Files
odoo_source/addons/hr/views/mail_channel_views.xml
T
Gert PellinandRichard Mathot 76a557c9ac [IMP] hr,mail: auto-subscribe departments to channels
Purpose of this commit is to allow to make private channels linked to
an HR department with an auto subscription.

It will ease the use of discussion channels among employees of a given
department. Moreover auto subscription is useful to avoid having to
manually synchronize channel members and department members.

This commit is linked to task ID 1848526 and closes PR #26650 .

Co-authored-by: Gert Pellin <gpe@odoo.com>
Co-authored-by: Richard Mathot <rim@odoo.com>
2018-09-17 13:56:39 +02:00

14 lines
600 B
XML

<?xml version="1.0" ?>
<odoo><data>
<record id="mail_channel_view_form_" model="ir.ui.view">
<field name="name">mail.channel.view.form.inherit.hr</field>
<field name="model">mail.channel</field>
<field name="inherit_id" ref="mail.mail_channel_view_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='group_ids']" position="after">
<field name="subscription_department_ids" widget="many2many_tags"
string="Auto Subscribe Departments"/>
</xpath>
</field>
</record>
</data></odoo>