[IMP] Invite/Share: hide email_lines when workign with (portal) groups.

bzr revid: tde@openerp.com-20120702095133-79986yd46zsyf94x
This commit is contained in:
Thibault Delavallée 2012-07-02 11:51:33 +02:00
parent d973fc8f57
commit b9081b29c1
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@
string="Share with these People (one email per line)">
<field nolabel="1" name="new_users" attrs="{'required':[('user_type','=','emails'), ('invite', '!=', True)]}"/>
</group>
<group colspan="4" name="email_lines" attrs="{'invisible':[('invite', '!=', True)]}"
<group colspan="4" name="email_lines" attrs="{'invisible':['|', ('invite', '!=', True), ('user_type', '!=', 'emails')]}"
string="Share with these People (one email per line)">
<field name="email_1"/>
<field name="email_2"/>