[IMP] hr.employee: default search should includes work emails (useful e.g. for trigrams)

bzr revid: odo@openerp.com-20131023162807-qjw68383a7612op6
This commit is contained in:
Olivier Dony 2013-10-23 18:28:07 +02:00
parent d7f9722a83
commit 5add0d31f3
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@
<field name="model">hr.employee</field>
<field name="arch" type="xml">
<search string="Employees">
<field name="name" string="Employees"/>
<field name="name" string="Employees" filter_domain="['|',('work_email','ilike',self),('name','ilike',self)]"/>
<field name="department_id" />
<field name="category_ids" groups="base.group_hr_user"/>
<group expand="0" string="Group By...">