Merge pull request #50733 from vorasmit/qb-changes

This commit is contained in:
Smit Vora
2025-12-02 14:41:58 +05:30
committed by GitHub
3 changed files with 5 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
import frappe
from pypika.terms import ValueWrapper
from erpnext.accounts.general_ledger import make_reverse_gl_entries
@@ -39,7 +40,7 @@ def execute():
"payment_amount",
# at the time of creating this dunning, the full amount was outstanding
"payment_amount as outstanding",
"'0' as paid_amount",
ValueWrapper(0).as_("paid_amount"),
"discounted_amount",
],
)