Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4965 มุมมอง

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)

อวตาร
ละทิ้ง
ผู้เขียน
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
มิ.ย. 25
872
1
ก.ค. 23
3558
4
ธ.ค. 22
9515
2
เม.ย. 21
3605
1
ต.ค. 16
4394