Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
4931 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
3
cze 25
827
1
lip 23
3513
4
gru 22
9485
2
kwi 21
3571
1
paź 16
4363