Skip to Content
Menu
This question has been flagged
1 Reply
3128 Views

I have extended the leads functionality to include data in a separate table through a One2many relationship.  How can I make fields in the related table accessible in the search bar?

Avatar
Discard
Author

I neglected to mention that this is a Version 13 Enterprise installation. Thanks in advance.

Best Answer

You can leverage the same approach to searching Chatter, which is a one2many relationship:

 

 Create your own view that inherits the Search View for Helpdesk Tickets and add this:

<field name="message_ids" string="Chatter" filter_domain="[('message_ids.body','ilike',self)]"/>
Example: 
 


 
 
 
 
And find it like this:
 
Avatar
Discard
Author

This worked like a champ! Very cool. Thanks.