Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
4201 Vistas

Why have the calendar in odoo employees date of birth starting from 2005 and not 1900?

How can someone how is older then 10 years, giv ehis birthdate in ?



Avatar
Descartar

He enter the date directly like 02/Jan/1990

Mejor respuesta

That is a behavior of the widget datetime used. You still could select 2005 and clic again to select the year and you will see 1995 to select it, clic again after and you will see 1985. Strange, isn't it? 

Avatar
Descartar
Mejor respuesta

find this file:

addons\web\static\lib\jquery.ui\js\jquery-ui-1.9.1.custom.js

on the line of 6492, find:

"c-10:c+10", change the 10 to the year you want to reduce and increase

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
ene 24
2719
2
jun 22
4656
2
jun 18
6163
2
nov 16
13852
2
feb 24
12680