Merge pull request #58017 from mihir-kandoi/backport-58016-v16

fix: preserve original operation idx in manually created Job Cards (backport #58016)
This commit is contained in:
Mihir Kandoi
2026-08-11 14:20:32 +05:30
committed by GitHub

View File

@@ -2825,6 +2825,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,