It is currently Tue May 22, 2012 11:27 pm

All times are UTC + 2 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Catch all search field
PostPosted: Fri Jun 10, 2011 1:05 pm 
Offline

Joined: Tue Mar 09, 2010 4:08 pm
Posts: 117
Hi

Is it possible to create a search field that can search multiple columns.

As an example, a search that will look through all of the phone numbers in the "phone" ,"fax", and "mobile" columns of the res.partner.address object?

I know how to add a new search field to a view. I assume I will need to write a new function/method but I don't understand how I would link the new function and a search field.

Thanks in advance
O


Top
 Profile  
 
 Post subject: Re: Catch all search field
PostPosted: Fri Jun 10, 2011 2:20 pm 
Offline

Joined: Mon Sep 13, 2010 10:23 am
Posts: 54
In OpenERP, there is no direct way to search on multiple fields with one selection or text filed on list view.
But you can make a solution by creating an function field, it should contain merged text of those three fields and use this field for searching.

_________________
Arif


Top
 Profile  
 
 Post subject: Re: Catch all search field
PostPosted: Sat Jun 11, 2011 5:47 am 
Offline

Joined: Tue Apr 05, 2011 9:25 am
Posts: 89
Check this: http://www.nan-tic.com/en/blog in this entry post: KooRunner: Koo's full text search with desktop integration.

Koo is another client for Openerp, with a great function: search in all data base with full_text_search module.

This module can help you. Another way: create a new python module.

Regards.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 2 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:

Protected by Anti-Spam ACP