Hello. Is it possible to add search filters to a custom dashboard? I'm using Odoo 12 CE.
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
Hello alec vinent,
No, It is not possible odoo search in your custom template. you have to do some customisation in dashboard.
Here I am giving some hints:
- "myInput" is my custom input place in xml file.
- In Js you have to write the keyup event for "myInput".
$cover_modal.find('#myInput').on('keyup', function()
{
var value = $cover_modal.find('#myInput').val().toLowerCase();
$cover_modal.find('tr').filter(function() {
$(this).toggle($(this).text().toLowerCase().indexOf(value) > -1)
});
});
- $cover_modal.find('tr'): This my custom div on which search event is executed.
Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari
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 | |
---|---|---|---|---|
|
1
Sep 24
|
2211 | ||
|
0
Sep 24
|
141 | ||
|
2
Oct 20
|
6001 | ||
|
1
Sep 20
|
1543 | ||
|
0
Oct 23
|
714 |
Thanks for your tip.