From e74a39752f402899581989e421c942088e1845b1 Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Thu, 6 Sep 2018 22:38:03 +0530 Subject: [PATCH] [Fix] Patch --- erpnext/patches/v11_0/make_job_card.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/patches/v11_0/make_job_card.py b/erpnext/patches/v11_0/make_job_card.py index ab9c7c414a..be106e687b 100644 --- a/erpnext/patches/v11_0/make_job_card.py +++ b/erpnext/patches/v11_0/make_job_card.py @@ -14,5 +14,5 @@ def execute(): where (work_order is not null and work_order != '') and docstatus = 0""", as_dict=1): if d.work_order: doc = frappe.get_doc('Work Order', d.work_order) - doc.make_job_card() + doc.create_job_card() frappe.delete_doc('Timesheet', d.name) \ No newline at end of file