[minor] if packed item warehouse not found then set the parent item warehouse to packed items
This commit is contained in:
parent
b5608f9b14
commit
e471b02172
@ -203,7 +203,7 @@ class SellingController(StockController):
|
||||
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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user