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
commit 1084f0d97f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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