fix: production plan pending-qty
(cherry picked from commit 5be7d42dfd)
This commit is contained in:
@@ -198,7 +198,9 @@ class ProductionPlan(Document):
|
|||||||
so_item.parent,
|
so_item.parent,
|
||||||
so_item.item_code,
|
so_item.item_code,
|
||||||
so_item.warehouse,
|
so_item.warehouse,
|
||||||
((so_item.qty - so_item.work_order_qty) * so_item.conversion_factor).as_("pending_qty"),
|
(
|
||||||
|
(so_item.qty - so_item.work_order_qty - so_item.delivered_qty) * so_item.conversion_factor
|
||||||
|
).as_("pending_qty"),
|
||||||
so_item.description,
|
so_item.description,
|
||||||
so_item.name,
|
so_item.name,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user