mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-28 14:18:24 +00:00
Merge pull request #58016 from mihir-kandoi/fix-job-card-operation-row-id
fix: preserve original operation idx in manually created Job Cards
This commit is contained in:
@@ -312,6 +312,7 @@ def get_operation_details(name, work_order, parent_bom):
|
|||||||
for row in work_order.operations:
|
for row in work_order.operations:
|
||||||
if row.name == name:
|
if row.name == name:
|
||||||
return {
|
return {
|
||||||
|
"idx": row.idx,
|
||||||
"workstation": row.workstation,
|
"workstation": row.workstation,
|
||||||
"workstation_type": row.workstation_type,
|
"workstation_type": row.workstation_type,
|
||||||
"source_warehouse": row.source_warehouse,
|
"source_warehouse": row.source_warehouse,
|
||||||
|
|||||||
Reference in New Issue
Block a user