mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-29 09:01:14 +02:00
fix(work_order): update returned qty
(cherry picked from commit b7f45e6963)
This commit is contained in:
@@ -358,7 +358,7 @@ class WorkOrder(Document):
|
|||||||
if status != self.status:
|
if status != self.status:
|
||||||
self.db_set("status", status)
|
self.db_set("status", status)
|
||||||
|
|
||||||
self.update_required_items()
|
self.update_required_items()
|
||||||
|
|
||||||
return status or self.status
|
return status or self.status
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user