mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 23:22:52 +00:00
refactor: further changes to adapt to query builder changes
This commit is contained in:
@@ -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",
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user