Skip to Content
Menu
This question has been flagged
1 Reply
1016 Views

hello 

i have this code 

._read_group_raw(domain=[('travel_to','=',g)],fields=['id'],groupby=['trip_flight_time'])

it's show result by month 

i need  groupby show result by day not month 
can any one help me 

thank you 

Avatar
Discard
Author Best Answer

._read_group_raw(domain=[('travel_to','=',g)],fields=['id'],groupby=['trip_flight_time'])

TO 

._read_group_raw(domain=[('travel_to','=',g)],fields=['id'],groupby=['trip_flight_time:day'])

Avatar
Discard