fix: linter issues
This commit is contained in:
parent
59e4fd980c
commit
e36da4d137
@ -1011,8 +1011,7 @@ def close_work_order(work_order, status):
|
|||||||
|
|
||||||
work_order = frappe.get_doc("Work Order", work_order)
|
work_order = frappe.get_doc("Work Order", work_order)
|
||||||
if work_order.get("operations"):
|
if work_order.get("operations"):
|
||||||
|
job_cards = frappe.get_list("Job Card",
|
||||||
job_cards = frappe.get_list("Job Card",
|
|
||||||
filters={
|
filters={
|
||||||
"work_order": work_order.name,
|
"work_order": work_order.name,
|
||||||
"status": "Work In Progress"
|
"status": "Work In Progress"
|
||||||
|
Loading…
Reference in New Issue
Block a user