From 5c94f2cc521a000c177a3abc3c2e7acbc79483ed Mon Sep 17 00:00:00 2001 From: Vishnu VS Date: Wed, 26 Apr 2023 20:25:15 +0530 Subject: [PATCH] Update erpnext/manufacturing/doctype/job_card/job_card.py Co-authored-by: Marica --- erpnext/manufacturing/doctype/job_card/job_card.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/manufacturing/doctype/job_card/job_card.py b/erpnext/manufacturing/doctype/job_card/job_card.py index ef740d2eea7..79a983603a3 100644 --- a/erpnext/manufacturing/doctype/job_card/job_card.py +++ b/erpnext/manufacturing/doctype/job_card/job_card.py @@ -547,7 +547,7 @@ class JobCard(Document): ) def update_work_order_data(self, for_quantity, time_in_mins, wo): - ws_hr_rate = frappe.get_value("Workstation", self.workstation, "hour_rate") + workstation_hour_rate = frappe.get_value("Workstation", self.workstation, "hour_rate") jc = frappe.qb.DocType("Job Card") jctl = frappe.qb.DocType("Job Card Time Log")