[MRG] Merged with target branch

This commit is contained in:
Stefan Rijnhart
2013-06-04 12:18:31 +02:00
14 changed files with 714 additions and 214 deletions

View File

@@ -59,7 +59,7 @@ class account_move_line(orm.Model):
if not args:
return []
line_obj = self.pool.get('account.move.line')
query = line_obj._query_get(cr, uid, context={})
query = line_obj._query_get(cr, uid, context=context)
where = ' and '.join(map(lambda x: '''(SELECT
CASE WHEN l.amount_currency > 0
THEN l.amount_currency