mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 12:19:12 +00:00
fix: update sql function usage syntax
This commit is contained in:
@@ -9,7 +9,7 @@ def execute():
|
||||
frappe.db.get_value(
|
||||
"Stock Ledger Entry",
|
||||
{"docstatus": 1, "batch_no": batch.batch_id, "is_cancelled": 0},
|
||||
"sum(actual_qty)",
|
||||
[{"SUM": "actual_qty"}],
|
||||
)
|
||||
or 0.0
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user