Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
3401 Prikazi

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
Opusti

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

Avtor

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
jul. 23
3114
2
jan. 22
2803
1
sep. 16
56
0
mar. 15
4832
1
feb. 23
6024