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?
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
This question has been flagged
1
Reply
3128
Views
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:
And find it like this:
This worked like a champ! Very cool. Thanks.
Superb!
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up
I neglected to mention that this is a Version 13 Enterprise installation. Thanks in advance.