Skip to content

Commit

Permalink
fix: Concurrency issues in Sales and Purchase returns (#34019)
Browse files Browse the repository at this point in the history
fix: Concurrency issues in Sales and Purchase returns (#34019)

(cherry picked from commit a67284e)

Co-authored-by: Deepesh Garg <deepeshgarg6@gmail.com>
  • Loading branch information
mergify[bot] and deepeshgarg007 authored Feb 13, 2023
1 parent 80c83f1 commit 087333a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions erpnext/controllers/sales_and_purchase_return.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ 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
),
Expand Down

0 comments on commit 087333a

Please sign in to comment.