[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="model">mail.compose.message</field>
<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">
<span name="document_followers_text" position="before"> <xpath expr="//span[@name='document_followers_text']" position="before">
<field <field
name="notify_followers" name="notify_followers"
attrs="{'invisible': [('composition_mode', '=', 'mass_mail')]}" attrs="{'invisible': [('composition_mode', '=', 'mass_mail')]}"
/> />
</span> </xpath>
<span name="document_followers_text" position="after"> <xpath expr="//span[@name='document_followers_text']" position="after">
<span <span
name="no_followers_text" name="no_followers_text"
attrs="{'invisible': [('notify_followers', '=', True)]}" attrs="{'invisible': [('notify_followers', '=', True)]}"
style="color: red;" 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> > - 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> </field>
</record> </record>