openerp-community team mailing list archive
-
openerp-community team
-
Mailing list archive
-
Message #02879
Re: How to implement a custom search function?
Hello W. Martin,
One of those example can be found here,
http://bazaar.launchpad.net/~openerp/openobject-addons/7.0/view/head:/account/account.py#L223
Regards.
2013/7/23 Er. Jay Vora <jay.vora4ce@xxxxxxxxx>
> W. Martin,
>
> You simply have to override search() in order to achieve the desired
> results.
>
> Pass a proper context if needed.
>
> There are several examples available in core modules.
>
> Feel free to ask more.
>
> Thanks.
>
>
>
> On Tue, Jul 23, 2013 at 6:21 PM, W. Martin Borgert <debacle@xxxxxxxxxx>wrote:
>
>> Hi,
>>
>> I like to implement a search function for the project issues.
>> This function should search not only most fields of the project
>> issues themselves, but also all logged notes and sent messages
>> in this context.
>>
>> Can somebody send me a hint on how to start of look for further
>> information?
>>
>> (I already did some module programming with Python and XML,
>> access to the database, etc. so I'm not entirely a newbie.)
>>
>> Thanks in advance!
>>
>>
>>
>> ______________________________**_________________
>> Mailing list: https://launchpad.net/~**openerp-community<https://launchpad.net/~openerp-community>
>> Post to : openerp-community@lists.**launchpad.net<openerp-community@xxxxxxxxxxxxxxxxxxx>
>> Unsubscribe : https://launchpad.net/~**openerp-community<https://launchpad.net/~openerp-community>
>> More help : https://help.launchpad.net/**ListHelp<https://help.launchpad.net/ListHelp>
>>
>
>
>
> --
>
> Thanks,
> Regards,
>
> *Er. Jay Vora*
> M : 91 - 9879354457.
> (Not miles, just an email away...)
> Twitter <http://twitter.com/#%21/jaynvora> Facebook<http://www.facebook.com/jaynvora>
> LinkedIn <http://www.linkedin.com/in/jaynvora> Blogger<http://jayvora.blogspot.com>
> "No Seconds to be Wasted for Formalities, I have a lot to Execute !" - Jay
> Vora
> _______________________________________________
> Mailing list: https://launchpad.net/~openerp-community
> Post to : openerp-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openerp-community
> More help : https://help.launchpad.net/ListHelp
>
>
References