mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 13:49:13 +00:00
Merge pull request #36209 from mohsinalimat/patch-2
fix: Ambiguous column error while submitting stock entry
This commit is contained in:
@@ -420,7 +420,7 @@ class StockEntry(StockController):
|
|||||||
transferred_materials = frappe.db.sql(
|
transferred_materials = frappe.db.sql(
|
||||||
"""
|
"""
|
||||||
select
|
select
|
||||||
sum(qty) as qty
|
sum(sed.qty) as qty
|
||||||
from `tabStock Entry` se,`tabStock Entry Detail` sed
|
from `tabStock Entry` se,`tabStock Entry Detail` sed
|
||||||
where
|
where
|
||||||
se.name = sed.parent and se.docstatus=1 and
|
se.name = sed.parent and se.docstatus=1 and
|
||||||
|
|||||||
Reference in New Issue
Block a user