mirror of https://github.com/OCA/social.git
[13.0][FIX] mail_optional_follower_notification: change added span ref in view
parent
fad962153e
commit
e9c295eef9
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue