Is it possiblt to search for an employee by zip code (private address)? I want to find all employees with private zip code 999.
I tried to use extended search filter "private address contains 9999" but this is not working.
How could i solve this similar like it works for customer addresses?
Using OpenERP 7.
In employee search view, on name field, add this filter, like this: <field name="name" string="Employees" filter_domain="[('address_home_id.zip','ilike',self)]"/> address_home_id means Private address and it's zip field, on which you want to search. After doing this, update hr module and search with '999' in search view. It will come up with the record in which zip code is set as '999' of private address.
Thanks, Priyesh Solanki
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 4/4/13, 6:49 PM|
|Seen: 2427 times|
|Last updated: 3/16/15, 8:10 AM|