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:43 +05:30
committed by GitHub
parent 5c94f2cc52
commit f68eef833c

View File

@@ -573,7 +573,7 @@ class JobCard(Document):
if data.get("workstation") != self.workstation:
# workstations can change in a job card
data.workstation = self.workstation
data.hour_rate = flt(ws_hr_rate)
data.hour_rate = flt(workstation_hour_rate)
wo.flags.ignore_validate_update_after_submit = True
wo.update_operation_status()