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

I want to have a Date search filter similar to date range available inside the the reports in the Financial reports?

Not like the one in Invoice where I select a date and then add new COndition in Search Filter then Add Second Date..

I want to have simple and Direct FROM-TO date Search Filter ?

 

Can anyone help?

Avatar
Discard
Best Answer

Add From Date and To Date Function Field in python class and define the function field in search filter view.

Example https://www.odoo.com/forum/help-1/question/search-within-a-period-of-date-14002

The above code also works in Reports.

 

Avatar
Discard
Author

thanks , i have already visited the above page by searching in google , but that's not i want. Like there is greater than field, I just want FROM TO date selection, same as in Financial Reports in accountin reports but I want it inside the search as search filter.

Financial Reports data selection created using wizard. But In the search box date selection option is not available instead of that need to enter from date and end data. (based on condition it return output) please see the link http://sonuopenerp.blogspot.in/2014/06/add-date-range-in-group-by-search.html

In the form date and to date use widget="calendar" in the search view