Hello,
I'm currently working on a new model and I'm trying to group the timestamp on hour basis.
As I can see it is implemented in Odoo15 (see pathtoodoo/odoo/models.py line 2281)
def _read_group_process_groupby(self, gb, query):
'hour': 'hh:00 dd MMM',
Now I have a datetimefield based on this format:
dd.MM.yyyy hh:mm:ss
But I can only group by day, week, month, quarter, year, does someone know what I need to do to group by hour?
Best
Max