diff --git a/erpnext/manufacturing/doctype/work_order/mapper.py b/erpnext/manufacturing/doctype/work_order/mapper.py index 7287a9ecb74..0a38c402155 100644 --- a/erpnext/manufacturing/doctype/work_order/mapper.py +++ b/erpnext/manufacturing/doctype/work_order/mapper.py @@ -312,6 +312,7 @@ def get_operation_details(name, work_order, parent_bom): for row in work_order.operations: if row.name == name: return { + "idx": row.idx, "workstation": row.workstation, "workstation_type": row.workstation_type, "source_warehouse": row.source_warehouse,