Merge pull request #49818 from rohitwaghchaure/fixed-ignore-orders

fix: ignore orders in mps
This commit is contained in:
rohitwaghchaure
2025-09-30 22:19:38 +05:30
committed by GitHub

View File

@@ -224,6 +224,9 @@ class MasterProductionSchedule(Document):
if ignore_orders:
names = [name for name in names if name not in ignore_orders]
if not names:
return []
query = query.where(doctype.parent.isin(names))
return query.run(as_dict=True)