Skip to Content
Menu
This question has been flagged

The customer wants to search for specific records in the Sale Orders tab of the customer portal. Is there any way to add a search bar to different parts of the customer portal?

Avatar
Discard
Best Answer

Hello arian_shariat@comp.iust.ac.ir,


There is no dynamic keyword or widget to add a search bar in the customer portal, you need to inherit the controller of each section(sale order, quotation, etc...) and need to do logic for the "searchbar_inputs" and also need to pass from the controller.


If you want to customize then contact us on "https://kanakinfosystems.com/contact-us" 

Thanks...

For more information Contact us:- https://kanakinfosystems.com/odoo-development-services

Avatar
Discard
Author

can you tell me in which file I can find the Odoo default search function so I can read and understand?

You can see the example for the portal tasks view.

You can find the code here "project > controllers > portal.py > METHOD(portal_my_tasks)", you can see that here they are passing the "searchbar_inputs"

Author

thanks a lot.

Related Posts Replies Views Activity
5
Mar 22
14141
2
Jan 23
5020
0
Dec 21
5989
1
Nov 24
2107
1
Dec 20
3473