bzr revid: fp@tinyerp.com-7ade99ba7f6caefcaa334f9c8f2e5c0d0e1fa05e
This commit is contained in:
Fabien Pinckaers
2007-12-21 14:49:09 +00:00
parent 5f776a8213
commit 7ed370dde7
@@ -63,7 +63,7 @@ def _calc_dates(self, cr, uid, data, context):
for i in range(5)[::-1]:
stop = start-RelativeDateTime(days=period_length)
res[str(i)] = {
'name' : 'over '+str((5-i)*period_length)+' days',
'name' : str((5-i)*period_length)+' days',
'stop': start.strftime('%Y-%m-%d'),
'start' : stop.strftime('%Y-%m-%d'),
}