Make gl entry for rounded-off amount
This commit is contained in:
parent
e2c200a91e
commit
3c67146e4b
@ -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)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user