Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
4860 Visualizzazioni

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.

Avatar
Abbandona
Risposta migliore

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
3
giu 25
739
1
lug 23
3461
4
dic 22
9427
2
apr 21
3513
1
ott 16
4276