Merged with diagram server
bzr revid: hda@tinyerp.com-20100406104457-k5l60gj690d041bj
This commit is contained in:
+2
-1
@@ -2013,7 +2013,8 @@ class orm(orm_template):
|
||||
|
||||
for d in data:
|
||||
d['__domain'] = [(groupby,'=',alldata[d['id']][groupby] or False)] + domain
|
||||
d['__context'] = {'group_by':groupby_list[1:]}
|
||||
if not isinstance(groupby_list,(str, unicode)):
|
||||
d['__context'] = {'group_by':groupby_list[1:]}
|
||||
if fget.has_key(groupby):
|
||||
if d[groupby] and fget[groupby]['type'] in ('date','datetime'):
|
||||
dt = datetime.datetime.strptime(alldata[d['id']][groupby][:7],'%Y-%m')
|
||||
|
||||
Reference in New Issue
Block a user