mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-05 05:09:11 +00:00
fix: use ValueWrapper consistently
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import frappe
|
||||
from pypika.terms import LiteralValue
|
||||
from pypika.terms import ValueWrapper
|
||||
|
||||
from erpnext.accounts.general_ledger import make_reverse_gl_entries
|
||||
|
||||
@@ -40,7 +40,7 @@ def execute():
|
||||
"payment_amount",
|
||||
# at the time of creating this dunning, the full amount was outstanding
|
||||
"payment_amount as outstanding",
|
||||
LiteralValue(0).as_("paid_amount"),
|
||||
ValueWrapper(0).as_("paid_amount"),
|
||||
"discounted_amount",
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user