i want to add a search bar here in the list
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
Hi,
To add a search bar in a list view, add the <search>
tag with the appropriate attributes inside the <tree>
tag. You can customize the search behavior by adding filters, groups, and other search options within the <search> tag.
For example, use the following code:
<search>
<field name="field_to_search_1"/>
<field name="field_to_search_2"/>
<filter name="filter_name" string="Filter Label" domain="[('field_name', 'operator', value)]"/>
<group expand="0" string="Group By">
<filter name="group_by_field" context="{'group_by': 'field_name'}"/>
</group>
</search>
Hope it helps.
ok
i did try to switch them on
but it's not really doing what i want
toggle to studio->click on views in the top right. And enable the search view. the search base will came
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Mar 15
|
3239 | ||
|
0
Oct 24
|
939 | ||
|
6
Aug 18
|
10912 | ||
|
3
Sep 17
|
7840 | ||
|
1
Mar 15
|
4417 |