Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 4/4/13, 6:49 PM|
|Seen: 2786 times|
|Last updated: 3/16/15, 8:10 AM|