تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4917 أدوات العرض

Dear,


I just wonder: How to set 00:00:00 to a datetime field in search Filter??

see below picture.



By default odoo will input current date and time. But I want to set it to 00:00:00 at From date and 23:59:59 at End date. The addon i try to modify is here:  https://apps.odoo.com/apps/modules/9.0/sgeede_date_range/


Can Anybody help me to make it? Thanks.

الصورة الرمزية
إهمال
أفضل إجابة

Get Date and append 00:00:00, then convert it as datetime by using  converter (strptime)

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
3
يونيو 25
826
1
يوليو 23
3512
4
ديسمبر 22
9483
2
أبريل 21
3561
1
أكتوبر 16
4354