mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-19 14:55:13 +00:00
Merge pull request #54257 from rohitwaghchaure/fixed-github-65007
fix: not able to submit the PO
This commit is contained in:
@@ -341,7 +341,7 @@ class StatusUpdater(Document):
|
||||
item_details.extend(self.fetch_items_with_pending_qty(args, "item_code", regular_items))
|
||||
|
||||
# Query production plan items with production_item field
|
||||
if pp_items:
|
||||
if pp_items and args.get("target_dt") in ["Production Plan Sub Assembly Item"]:
|
||||
item_details.extend(self.fetch_items_with_pending_qty(args, "production_item", pp_items))
|
||||
|
||||
item_lookup = {item.name: item for item in item_details}
|
||||
|
||||
Reference in New Issue
Block a user