Hi guyz,
Firstly, when a date field is set, for ex:
'date': fields.date('Date'),
The years displayed are normally 2003 - 2023 as the current year is 2013 i.e. +/-10 years in the selection box for years.
But normally when we see any site for date of birth, they provide year range from 1970 -2013(i.e. present).
Is there any way to make the range bigger.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
1
الرد
5338
أدوات العرض
Choose 2003 and then range shift to 1993. And step by step you go to 1920. The same in other direction. Or just write it by hand.
there is no range before 2003, so how can i get 1920 selected. tell me how to customize the range.
I need customization of date field through code.
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
1
مارس 25
|
6128 | ||
|
1
نوفمبر 22
|
3188 | ||
|
3
نوفمبر 21
|
25799 | ||
|
1
مايو 17
|
4436 | ||
|
2
مارس 15
|
5277 |