Merge pull request #3866 from nabinhait/fix3

[fix] fraction issue in gl entry
This commit is contained in:
Anand Doshi 2015-08-13 13:35:57 +05:30
commit ae1a91835e

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):