fix: Picked Qty conversion from Stock Qty to item Qty in DN

This commit is contained in:
Anuja P 2021-03-31 19:26:42 +05:30
parent 27f48739d4
commit fb9ce3f37b

View File

@ -346,7 +346,7 @@ def create_delivery_note(source_name, target_doc=None):
if dn_item:
dn_item.warehouse = location.warehouse
dn_item.qty = location.picked_qty
dn_item.qty = location.picked_qty / location.conversion_factor
dn_item.batch_no = location.batch_no
dn_item.serial_no = location.serial_no