refactor: further changes to adapt to query builder changes

This commit is contained in:
Smit Vora
2025-11-25 12:08:31 +05:30
parent 58e217be6a
commit 8235a551f0
3 changed files with 6 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
import frappe
from pypika.terms import LiteralValue
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",
LiteralValue(0).as_("paid_amount"),
"discounted_amount",
],
)