fix: Ambiguous column error while submitting stock entry

fix: Ambiguous column error while submitting stock entry
This commit is contained in:
Deepesh Garg
2023-07-12 10:18:38 +05:30
committed by GitHub

View File

@@ -1026,7 +1026,7 @@ class WorkOrder(Document):
consumed_qty = frappe.db.sql(
"""
SELECT
SUM(qty)
SUM(detail.qty)
FROM
`tabStock Entry` entry,
`tabStock Entry Detail` detail