콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
4279 화면

Hello!, I have a little problem I would like restrict years for choose in date pickers, previous year like min date and actual year like max date, I downloaded this module:

https://apps.odoo.com/apps/modules/8.0/web_widget_datepicker_options/


But when I try change that value I get the following error:


Uncaught TypeError: picker.options.minDate.year is not a function

Anyone could help me? Thanks!!!

아바타
취소
베스트 답변

Did you remark that you want to use a module developed for version 8.0 in version 9.0 and that this most probably will not work? Either use the corresponding version for 9.0 or, if not available, port the module to version 9.0 (or pay someone to do it for you).

아바타
취소
작성자

The module in for the 9.0 version too https://apps.odoo.com/apps/modules/9.0/web_widget_datepicker_options/ and I'm using the 9.0 module

Then please provide the proper version information next time. And as for the error now, please provide your code, this is not a trivia game.

관련 게시물 답글 화면 활동
2
2월 22
29316
0
1월 18
7352
0
1월 18
3146
1
12월 19
9665
1
5월 16
4516