mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-23 06:59:20 +00:00
fix: raw material warehouse in Production Planning Report (#21983)
This commit is contained in:
@@ -220,6 +220,9 @@ class ProductionPlanReport(object):
|
|||||||
if item_details:
|
if item_details:
|
||||||
warehouses = [item_details["default_warehouse"]]
|
warehouses = [item_details["default_warehouse"]]
|
||||||
|
|
||||||
|
if self.filters.raw_material_warehouse:
|
||||||
|
warehouses = get_child_warehouses(self.filters.raw_material_warehouse)
|
||||||
|
|
||||||
d.remaining_qty = d.required_qty
|
d.remaining_qty = d.required_qty
|
||||||
self.pick_materials_from_warehouses(d, data, warehouses)
|
self.pick_materials_from_warehouses(d, data, warehouses)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user