fix: linter issues

This commit is contained in:
Anupam 2021-11-02 12:53:00 +05:30
parent 59e4fd980c
commit e36da4d137

View File

@ -1011,8 +1011,7 @@ def close_work_order(work_order, status):
work_order = frappe.get_doc("Work Order", work_order)
if work_order.get("operations"):
job_cards = frappe.get_list("Job Card",
job_cards = frappe.get_list("Job Card",
filters={
"work_order": work_order.name,
"status": "Work In Progress"