mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-03 13:38:27 +00:00
fix: Set Pending Qty in Prod Plan after updating Work Order
This commit is contained in:
@@ -279,6 +279,7 @@ class ProductionPlan(Document):
|
||||
for data in self.po_items:
|
||||
if data.name == production_plan_item:
|
||||
data.produced_qty = produced_qty
|
||||
data.pending_qty = flt(data.planned_qty - produced_qty)
|
||||
data.db_update()
|
||||
|
||||
self.calculate_total_produced_qty()
|
||||
|
||||
Reference in New Issue
Block a user