[FIX] account: context argument was missing from method signature
bzr revid: olt@tinyerp.com-20100222150724-o1dltc9hxc5hc3ek
This commit is contained in:
parent
e70f2f72f1
commit
222ab7cd11
|
@ -283,7 +283,10 @@ class account_move_line(osv.osv):
|
|||
result.append((line.id, line.name))
|
||||
return result
|
||||
|
||||
def _balance_search(self, cursor, user, obj, name, args):
|
||||
def _balance_search(self, cursor, user, obj, name, args, domain=None, context=None):
|
||||
if context is None:
|
||||
context = {}
|
||||
|
||||
if not len(args):
|
||||
return []
|
||||
where = ' and '.join(map(lambda x: '(abs(sum(debit-credit))'+x[1]+str(x[2])+')',args))
|
||||
|
|
Loading…
Reference in New Issue