[fix] fraction issue in gl entry

This commit is contained in:
Nabin Hait 2015-08-13 12:19:20 +05:30
parent 7e4b93f48e
commit 2e54da2ea5

View File

@ -50,7 +50,7 @@ def merge_similar_entries(gl_map):
merged_gl_map.append(entry)
# filter zero debit and credit entries
merged_gl_map = filter(lambda x: flt(x.debit)!=0 or flt(x.credit)!=0, merged_gl_map)
merged_gl_map = filter(lambda x: flt(x.debit, 9)!=0 or flt(x.credit, 9)!=0, merged_gl_map)
return merged_gl_map
def check_if_in_list(gle, gl_map):