feat: more info for payment deductions

This commit is contained in:
barredterra
2021-10-05 18:06:13 +02:00
parent 4fb7a96dc6
commit 117a062838

View File

@@ -1555,7 +1555,10 @@ def get_payment_entry(dt, dn, party_amount=None, bank_account=None, bank_amount=
}) })
pe.append("deductions", { pe.append("deductions", {
"amount": doc.dunning_amount "account": doc.income_account,
"cost_center": doc.cost_center,
"amount": doc.dunning_amount,
"description": _("Interest and/or dunning fee")
}) })
else: else:
pe.append("references", { pe.append("references", {