diff --git a/erpnext/manufacturing/doctype/production_plan/production_plan.py b/erpnext/manufacturing/doctype/production_plan/production_plan.py index 9ca05b927f3..132e1ebea50 100644 --- a/erpnext/manufacturing/doctype/production_plan/production_plan.py +++ b/erpnext/manufacturing/doctype/production_plan/production_plan.py @@ -506,7 +506,7 @@ class ProductionPlan(Document): po.is_subcontracted = 1 for row in po_list: po_data = { - "item_code": row.production_item, + "fg_item": row.production_item, "warehouse": row.fg_warehouse, "production_plan_sub_assembly_item": row.name, "bom": row.bom_no, @@ -516,9 +516,6 @@ class ProductionPlan(Document): for field in [ "schedule_date", "qty", - "uom", - "stock_uom", - "item_name", "description", "production_plan_item", ]: