[IMP] crm_hr:In search view add the domain for section id

bzr revid: sbh@tinyerp.com-20100202102554-f4hbq4gec9crlcbg
This commit is contained in:
sbh (Open ERP)
2010-02-02 15:55:54 +05:30
parent 523d374327
commit 9285d5acf6
+6
View File
@@ -240,6 +240,12 @@
<field name="email_from" select='1' string="Email"/>
<field name="user_id" select="1" widget="selection"/>
</group>
<field name="section_id" select="1" widget="selection" string="Section">
<filter icon="terp-crm"
domain="[('section_id','=',context.get('section_id',False))]"
help="My section"
/>
</field>
</search>
</field>
</record>