1052, "Column 'qty' in field list is ambiguous in work_order.py
This commit is contained in:
parent
22eee472dd
commit
2816076789
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user