[FIX] make sure the read_group method use the correct time interval when grouping with an interval of days (stupid typo) (orm.py)

bzr revid: ged@openerp.com-20140409092759-91ruq32vkxh698kh
This commit is contained in:
Gery Debongnie 2014-04-09 11:27:59 +02:00
parent cc60736487
commit 2df67ad6c9
1 changed files with 1 additions and 1 deletions

View File

@ -2259,7 +2259,7 @@ class BaseModel(object):
'year': 'YYYY'
}
time_intervals = {
'day': dateutil.relativedelta.relativedelta(months=3),
'day': dateutil.relativedelta.relativedelta(days=1),
'week': datetime.timedelta(days=7),
'month': dateutil.relativedelta.relativedelta(months=1),
'quarter': dateutil.relativedelta.relativedelta(months=3),