mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 15:12:51 +00:00
Update erpnext/manufacturing/doctype/job_card/job_card.py
Co-authored-by: Marica <maricadsouza221197@gmail.com>
This commit is contained in:
@@ -573,7 +573,7 @@ class JobCard(Document):
|
|||||||
if data.get("workstation") != self.workstation:
|
if data.get("workstation") != self.workstation:
|
||||||
# workstations can change in a job card
|
# workstations can change in a job card
|
||||||
data.workstation = self.workstation
|
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.flags.ignore_validate_update_after_submit = True
|
||||||
wo.update_operation_status()
|
wo.update_operation_status()
|
||||||
|
|||||||
Reference in New Issue
Block a user