[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 Karl Southern
parent 3bb1f8807f
commit 239f5dfc21

View File

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