跳至內容
選單
此問題已被標幟
1 回覆
4937 瀏覽次數

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
6月 25
834
1
7月 23
3516
4
12月 22
9489
2
4月 21
3575
1
10月 16
4369