Update erpnext/manufacturing/doctype/job_card/job_card.py

Co-authored-by: Marica <maricadsouza221197@gmail.com>
This commit is contained in:
Vishnu VS 2023-04-26 20:25:15 +05:30 committed by GitHub
parent 25d0119b7e
commit 5c94f2cc52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")