mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-11 06:17:44 +00:00
fix: concurrency issue while picking materials (#43087)
(cherry picked from commit 5c7dff0e84)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
This commit is contained in:
@@ -650,6 +650,8 @@ class PickList(Document):
|
||||
if self.name:
|
||||
query = query.where(pi_item.parent != self.name)
|
||||
|
||||
query = query.for_update()
|
||||
|
||||
return query.run(as_dict=True)
|
||||
|
||||
def _get_product_bundles(self) -> dict[str, str]:
|
||||
|
||||
Reference in New Issue
Block a user