Revert "fix: Concurrency issues in Sales and Purchase returns" (#34202)
Revert "fix: Concurrency issues in Sales and Purchase returns (#34019)" This reverts commita67284e96d. (cherry picked from commite26c6dc76b)
This commit is contained in:
@@ -252,7 +252,6 @@ def get_already_returned_items(doc):
|
|||||||
child.parent = par.name and par.docstatus = 1
|
child.parent = par.name and par.docstatus = 1
|
||||||
and par.is_return = 1 and par.return_against = %s
|
and par.is_return = 1 and par.return_against = %s
|
||||||
group by item_code
|
group by item_code
|
||||||
for update
|
|
||||||
""".format(
|
""".format(
|
||||||
column, doc.doctype, doc.doctype
|
column, doc.doctype, doc.doctype
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user