Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
4802 Zobrazení

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
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
čvn 25
697
1
čvc 23
3411
4
pro 22
9371
2
dub 21
3461
1
říj 16
4231