[FIX] count 0, need to fix the web client

bzr revid: fp@tinyerp.com-20111113124848-r1youtgj7c5li8b2
This commit is contained in:
Fabien Pinckaers
2011-11-13 13:48:48 +01:00
parent dd80543364
commit e25fe1f261
+1 -1
View File
@@ -2495,7 +2495,7 @@ class BaseModel(object):
val.update({
groupby: stages[pos],
'__domain': [(groupby, '=', stages[pos][0])]+domain,
groupby+'_count': 1L, # Should be 0L but the web client crashes
groupby+'_count': 0L,
'__context': {'group_by': groupby_list[1:]}
})
data.insert(pos, val)