Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
4925 Представления

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
826
1
июл. 23
3513
4
дек. 22
9485
2
апр. 21
3566
1
окт. 16
4357