Test case fixes

This commit is contained in:
Nabin Hait
2014-09-16 11:08:08 +05:30
parent 678b441082
commit 997a7a1d3e
11 changed files with 32 additions and 27 deletions

View File

@@ -401,6 +401,7 @@ class AccountsController(TransactionBase):
order by t1.posting_date""" %
(dr_or_cr, '%s', '%s', '%s', cond), tuple([account_head, party_type, party] + so_list), as_dict=1)
self.set(parentfield, [])
for d in res:
self.append(parentfield, {