[quote author=digitalsatori link=topic=16423.msg28126#msg28126 date=1401846381]
搜索一下View里面的modifiers的用法
[/quote]
Thanks Tony!
请教我这样写是否可以?
<field name="email" widget="email" attrs="{'invisible': [('is_company','=', True)]}" modifiers="{[('is_company','=', True)], 'required': false}"/>