mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 08:54:45 +00:00
1052, "Column 'qty' in field list is ambiguous in work_order.py
This commit is contained in:
@@ -1026,7 +1026,7 @@ class WorkOrder(Document):
|
|||||||
consumed_qty = frappe.db.sql(
|
consumed_qty = frappe.db.sql(
|
||||||
"""
|
"""
|
||||||
SELECT
|
SELECT
|
||||||
SUM(qty)
|
SUM(detail.qty)
|
||||||
FROM
|
FROM
|
||||||
`tabStock Entry` entry,
|
`tabStock Entry` entry,
|
||||||
`tabStock Entry Detail` detail
|
`tabStock Entry Detail` detail
|
||||||
|
|||||||
Reference in New Issue
Block a user