[minor] if packed item warehouse not found then set the parent item warehouse to packed items
diff --git a/erpnext/controllers/selling_controller.py b/erpnext/controllers/selling_controller.py
index c235d34..af51f70 100644
--- a/erpnext/controllers/selling_controller.py
+++ b/erpnext/controllers/selling_controller.py
@@ -203,7 +203,7 @@
if p.parent_detail_docname == d.name and p.parent_item == d.item_code:
# the packing details table's qty is already multiplied with parent's qty
il.append(frappe._dict({
- 'warehouse': p.warehouse,
+ 'warehouse': p.warehouse or d.warehouse,
'item_code': p.item_code,
'qty': flt(p.qty),
'uom': p.uom,