fix: production plan pending-qty
This commit is contained in:
parent
487d825ede
commit
5be7d42dfd
@ -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,
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user