コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
7770 ビュー

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.

regards

アバター
破棄
最善の回答

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

アバター
破棄
著作者

hi and many thanks, works perfect! Is there also a way to modify extended search for "Private address" ?

Did not get you. Do you want to modify search view of Private address object, i mean res.partner ? Please explain more.

著作者

I would like to kombine more complex searches via extended search possibility. For example: Show me all employees with name=xxx and private zipcode = 999 and sex=male. This does currently not work,because private address does not search zip code but only private employee name.

Either you can override original search view by code or you can use Advanced Search feature from search view and You can add as many conditions as you want.

最善の回答

hello plz can any1 tell me how to search sales order record by customer's email and phone number

thanks

shashank verma

skype id

shashank_leosys

アバター
破棄
関連投稿 返信 ビュー 活動
0
3月 15
4191
1
3月 15
7284
8
7月 24
16315
3
10月 23
13446
7
11月 20
25004