Skip to content

Commit

Permalink
fix: Ambiguous column error while submitting stock entry
Browse files Browse the repository at this point in the history
fix: Ambiguous column error while submitting stock entry
  • Loading branch information
deepeshgarg007 authored Jul 12, 2023
2 parents 8580287 + 2816076 commit 0a6c565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/manufacturing/doctype/work_order/work_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -1026,7 +1026,7 @@ def update_consumed_qty_for_required_items(self):
consumed_qty = frappe.db.sql(
"""
SELECT
SUM(qty)
SUM(detail.qty)
FROM
`tabStock Entry` entry,
`tabStock Entry Detail` detail
Expand Down

0 comments on commit 0a6c565

Please sign in to comment.