Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
4267 Ansichten

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!!!

Avatar
Verwerfen
Beste Antwort

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).

Avatar
Verwerfen
Autor

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.

Verknüpfte Beiträge Antworten Ansichten Aktivität
2
Feb. 22
29288
0
Jan. 18
7340
0
Jan. 18
3133
1
Dez. 19
9650
1
Mai 16
4504