mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-16 16:15:02 +00:00
fix: concurrency issue while picking materials (#43087)
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