Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3497 Lượt xem

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.


Ảnh đại diện
Huỷ bỏ

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

Tác giả

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 

Câu trả lời hay nhất

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
    

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 23
3183
2
thg 1 22
2846
1
thg 9 16
56
0
thg 3 15
4888
1
thg 2 23
6090