commit | 0a6c565eb33e09ce46f264aacabcfda502151271 | [log] [tgz] |
---|---|---|
author | Deepesh Garg <deepeshgarg6@gmail.com> | Wed Jul 12 10:18:38 2023 +0530 |
committer | GitHub <noreply@github.com> | Wed Jul 12 10:18:38 2023 +0530 |
tree | cef77a448b6ffac410141fd485ba4029529d002b | |
parent | 85802870921069889a92a764f80d7ba874a8a339 [diff] | |
parent | 281607678954872b83c2ac19f4bdd3f4855bb32a [diff] |
fix: Ambiguous column error while submitting stock entry fix: Ambiguous column error while submitting stock entry
diff --git a/erpnext/manufacturing/doctype/work_order/work_order.py b/erpnext/manufacturing/doctype/work_order/work_order.py index 79b1e79..7c15bf9 100644 --- a/erpnext/manufacturing/doctype/work_order/work_order.py +++ b/erpnext/manufacturing/doctype/work_order/work_order.py
@@ -1026,7 +1026,7 @@ consumed_qty = frappe.db.sql( """ SELECT - SUM(qty) + SUM(detail.qty) FROM `tabStock Entry` entry, `tabStock Entry Detail` detail