fix: Ambiguous column error while creating Sales Return (#45275)

(cherry picked from commit ec487c14d9)
This commit is contained in:
Nabin Hait
2025-01-17 16:51:07 +05:30
committed by Mergify
parent c789171a15
commit 842d72f7c4

View File

@@ -259,7 +259,7 @@ def get_already_returned_items(doc):
)
data = frappe.db.sql(
f"""
select {column}, {field}
select {column}, child.{field}
from
`tab{doc.doctype} Item` child, `tab{doc.doctype}` par
where