跳至内容
菜单
此问题已终结
1 回复
4927 查看

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
826
1
7月 23
3513
4
12月 22
9485
2
4月 21
3568
1
10月 16
4362