please help me below query working fine it gives monthly group with amount but I need group by day not monthly in odoo11. how to build i query group by day with amount
this query under reports.py file with in models.AbstractModel
self.env['account.invoice'].read_group([],['date_invoice','amount_total'],['date_invoice'])
for group in groups:
print(group['date_invoice'],group['amount_total'])
November 2016 xyz amount
December 2016 4525.52
January 2017 4525.23
February 2017 122.78
March 2017 10159.24