mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-15 15:38:39 +00:00
fix: exclude fully received PO lines from arrival qty and date
This commit is contained in:
@@ -246,6 +246,7 @@ class ProductionPlanReport:
|
||||
& (poi.warehouse.isin(self.warehouses))
|
||||
& (po.docstatus == 1)
|
||||
& (po.status.notin(["Closed", "Completed", "Cancelled"]))
|
||||
& (poi.qty > poi.received_qty)
|
||||
)
|
||||
.groupby(poi.item_code, poi.warehouse)
|
||||
).run(as_dict=True)
|
||||
|
||||
Reference in New Issue
Block a user