feat: more info for payment deductions

This commit is contained in:
barredterra 2021-10-05 18:06:13 +02:00 committed by marination
parent 16a23d9f0f
commit ff7ec977e6

View File

@ -1861,7 +1861,10 @@ def get_payment_entry(
})
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:
pe.append(