Merge pull request #34203 from frappe/mergify/bp/version-14-hotfix/pr-34202

Revert "fix: Concurrency issues in Sales and Purchase returns" (backport #34202)
This commit is contained in:
Deepesh Garg
2023-02-24 15:32:00 +05:30
committed by GitHub

View File

@@ -252,7 +252,6 @@ def get_already_returned_items(doc):
child.parent = par.name and par.docstatus = 1
and par.is_return = 1 and par.return_against = %s
group by item_code
for update
""".format(
column, doc.doctype, doc.doctype
),