Skip to content

Commit

Permalink
Merge cca6b80 into d1d5182
Browse files Browse the repository at this point in the history
  • Loading branch information
mbcosta committed Jul 13, 2016
2 parents d1d5182 + cca6b80 commit efef462
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -36,8 +36,8 @@ def compute(self, cr, uid, ids, date, context=None):
]

result = self.pool.get('stock.history').read_group(
cr, uid, domain=[], fields=fields, groupby=group_by,
context=context)
cr, uid, domain=[['date', '<=', date]], fields=fields,
groupby=group_by, context=context)

return result

Expand Down

0 comments on commit efef462

Please sign in to comment.