[13.0][FIX] mail_optional_follower_notification: change added span ref in view

pull/676/head
hda 2021-02-19 14:58:32 +01:00
parent fad962153e
commit e9c295eef9
1 changed files with 4 additions and 4 deletions

View File

@ -5,19 +5,19 @@
<field name="model">mail.compose.message</field>
<field name="inherit_id" ref="mail.email_compose_message_wizard_form" />
<field name="arch" type="xml">
<span name="document_followers_text" position="before">
<xpath expr="//span[@name='document_followers_text']" position="before">
<field
name="notify_followers"
attrs="{'invisible': [('composition_mode', '=', 'mass_mail')]}"
/>
</span>
<span name="document_followers_text" position="after">
</xpath>
<xpath expr="//span[@name='document_followers_text']" position="after">
<span
name="no_followers_text"
attrs="{'invisible': [('notify_followers', '=', True)]}"
style="color: red;"
> - Warning : Followers will not be notified but they can access the notification directly from the document (if they are allowed to)</span>
</span>
</xpath>
</field>
</record>