Make gl entry for rounded-off amount

This commit is contained in:
Nabin Hait 2015-05-28 13:19:01 +05:30
parent e2c200a91e
commit 3c67146e4b

View File

@ -122,9 +122,12 @@ def make_round_off_gle(gl_map, debit_credit_diff):
"account": round_off_account,
"debit": abs(debit_credit_diff) if debit_credit_diff < 0 else 0,
"credit": debit_credit_diff if debit_credit_diff > 0 else 0,
"cost_center": round_off_cost_center
"cost_center": round_off_cost_center,
"party_type": None,
"party": None,
"against_voucher_type": None,
"against_voucher": None
})
gl_map.append(round_off_gle)