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

I want to customize the default date filter to show all months in the year (from dec to jan), it shows this month and previous two months by default.


Avatar
Discard

Hi Mashendi,

Can you brief this questions with more details as in the question you didn't mentioned where exactly you need new filter customisation.

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

Author

Hi Jainesh,

i want to make it on sale.report pivot view, in filter dropdown menu, instead of showing only the current and 2 previous months i want to show all months 

Best Answer

Hello

you have to inherit and modify MONTH_OPTIONS defined in addons/web/static/src/js/control_panel/search_utils.js

please check following screenshots for more details



Thanks & Regards,



CandidRoot Solutions Pvt. Ltd.

Mobile: (+91) 8849036209
Email: info@candidroot.com
Skype: live:candidroot
Web: https://www.candidroot.com
Address: 1229-1230, Iconic Shyamal, Near Shyamal Cross Road, Ahmedabad, Gujarat 380015
    

Avatar
Discard
Related Posts Replies Views Activity
1
Jul 23
1762
2
Jan 22
1908
1
Sep 16
56
0
Mar 15
3784
1
Feb 23
4772