[FIX] mail_compose_message: hide recipients data if False to avoid blank lines
bzr revid: tde@openerp.com-20140317132243-7cy089m8thd29y3l
This commit is contained in:
parent
43cc054048
commit
86934c1167
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue