[IMP] Hide the checkbox for the mass mailing in mail_optional_autofollow

This commit is contained in:
Denis Robinet (ACSONE) 2017-12-04 17:21:55 +01:00 committed by Benoit Aimont
parent d164af0cfa
commit 7edb5aceed

View File

@ -6,7 +6,7 @@
<field name="inherit_id" ref="mail.email_compose_message_wizard_form"/>
<field name="arch" type="xml">
<xpath expr="//div[field[@name='partner_ids']]" position="after">
<field name="autofollow_recipients" />
<field name="autofollow_recipients" attrs="{'invisible': [('composition_mode', '=', 'mass_mail')]}"/>
</xpath>
</field>
</record>