mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-14 04:15:10 +00:00
Merge pull request #45316 from frappe/mergify/bp/version-15-hotfix/pr-45275
fix: Ambiguous column error while creating Sales Return (backport #45275)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user