Merge pull request #36209 from mohsinalimat/patch-2

fix: Ambiguous column error while submitting stock entry
This commit is contained in:
rohitwaghchaure
2023-07-20 18:03:27 +05:30
committed by GitHub

View File

@@ -420,7 +420,7 @@ class StockEntry(StockController):
transferred_materials = frappe.db.sql(
"""
select
sum(qty) as qty
sum(sed.qty) as qty
from `tabStock Entry` se,`tabStock Entry Detail` sed
where
se.name = sed.parent and se.docstatus=1 and