diff options
| author | Thibault Delavallée <tde@openerp.com> | 2014-03-17 14:22:43 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2014-03-17 14:22:43 +0100 |
| commit | 86934c116736dcec9249e64d8fa7ff6a735a3b48 (patch) | |
| tree | 55d8365a82953d2c49ec8c1bc0e7bb7a99254839 /addons/mail/wizard/mail_compose_message_view.xml | |
| parent | 43cc0540485f1fa4bdaf28e1a91cd944f5905265 (diff) | |
[FIX] mail_compose_message: hide recipients data if False to avoid blank lines
bzr revid: tde@openerp.com-20140317132243-7cy089m8thd29y3l
Diffstat (limited to 'addons/mail/wizard/mail_compose_message_view.xml')
| -rw-r--r-- | addons/mail/wizard/mail_compose_message_view.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/wizard/mail_compose_message_view.xml b/addons/mail/wizard/mail_compose_message_view.xml index a2f723db99d..4bab178ac53 100644 --- a/addons/mail/wizard/mail_compose_message_view.xml +++ b/addons/mail/wizard/mail_compose_message_view.xml @@ -39,7 +39,7 @@ <br /> <span>The following contacts will be mailed: </span> </span> - <field name="recipients_data" class="oe_inline oe_compose_recipients" readonly="1"/> + <field name="recipients_data" class="oe_inline oe_compose_recipients" readonly="1" attrs="{'invisible':[('recipients_data', '=', False)]}"/> <span attrs="{'invisible':['|', ('composition_mode', '!=', 'comment'), ('recipients_data', '=', False)]}">and</span> <field name="partner_ids" widget="many2many_tags_email" placeholder="Add contacts to notify..." context="{'force_email':True, 'show_email':True}" |
