[Fix] Due to incorrect conversion factor user not able to make purchase return entry (#15163)

This commit is contained in:
rohitwaghchaure 2018-08-20 17:50:31 +05:30 committed by Nabin Hait
parent e689a903d8
commit b800382abf

View File

@ -151,6 +151,7 @@ def get_ref_item_dict(valid_items, ref_item_row):
"rejected_qty": 0,
"received_qty": 0,
"serial_no": [],
"conversion_factor": ref_item_row.get("conversion_factor", 1),
"batch_no": []
}))
item_dict = valid_items[ref_item_row.item_code]