[IMP] mail_group: wording
When this popup appears, it is not obvious that there is an on_change on the 'Contents' field, and unless the user starts typing in it the user will not know if 'Reject' will notify the sender or not. closes odoo/odoo#90785 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
This commit is contained in:
committed by
Martin Trigaux
parent
ae19152a21
commit
833da126e6
@@ -6,7 +6,7 @@
|
||||
<field name="arch" type="xml">
|
||||
<form string="Reject">
|
||||
<div class="alert alert-warning" role="alert" attrs="{'invisible': [('action', '!=', 'reject')]}">
|
||||
Reject the message <span attrs="{'invisible': [('send_email', '=', False)]}">and send an email to the author (<field name="email_from_normalized"/>)</span>.
|
||||
Reject the message<span attrs="{'invisible': [('send_email', '=', False)]}"> and send an email to the author (<field name="email_from_normalized"/>)</span>.
|
||||
</div>
|
||||
<div class="alert alert-warning" role="alert" attrs="{'invisible': [('action', '!=', 'ban')]}">
|
||||
Ban the author of the message (<field name="email_from_normalized"/>) <span attrs="{'invisible': [('send_email', '=', False)]}">and send him an email</span>.
|
||||
@@ -19,7 +19,7 @@
|
||||
<field name="action" invisible="1"/>
|
||||
</group>
|
||||
<footer>
|
||||
<button string="Reject" name="action_send_mail" type="object" class="btn-primary"
|
||||
<button string="Reject Silently" name="action_send_mail" type="object" class="btn-primary"
|
||||
attrs="{'invisible': ['|', ('action', '!=', 'reject'), ('send_email', '=', True)]}"/>
|
||||
<button string="Send & Reject" name="action_send_mail" type="object" class="btn-primary"
|
||||
attrs="{'invisible': ['|', ('action', '!=', 'reject'), ('send_email', '=', False)]}"/>
|
||||
|
||||
Reference in New Issue
Block a user