Merge PR #676 into 13.0

Signed-off-by dreispt
pull/690/head
OCA-git-bot 2021-03-16 10:13:09 +00:00
commit 927edb5fff
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>