mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-21 02:09:58 +00:00
fix: don't set work order status to In Process only due to skip material transfer (#58244)
This commit is contained in:
@@ -132,9 +132,7 @@ class StatusService:
|
||||
|
||||
status = (
|
||||
"In Process"
|
||||
if flt(self.doc.material_transferred_for_manufacturing) > 0
|
||||
or self.doc.skip_transfer
|
||||
or self._has_transferred_material()
|
||||
if flt(self.doc.material_transferred_for_manufacturing) > 0 or self._has_transferred_material()
|
||||
else "Not Started"
|
||||
)
|
||||
precision = frappe.get_precision("Work Order", "produced_qty")
|
||||
|
||||
Reference in New Issue
Block a user