erpnext
erpnext copied to clipboard
Qty coming wrong in pick list
Information about bug
When creating a pick list from material request of type material transfer and has items whose UOM is other than EACH and have conversion factor other than 1 like 2,4,6 etc for these items the stock qty in the pick list is taken as the qty from the material request items table which causes the qty in picklist to go into float like 0.146,1.333 etc after getting divided by the conversion factor which is incorrect. if the material request had passed on the stock qty to the pick list as the pick list stock qty then it would had worked out but that isnt happening . And this is the method where it is doing that in erpnext->picklist.py def get_items_with_location_and_quantity(item_doc, item_location_map, docstatus):
The material request
The pick list which was tried to create from it
Module
stock
Version
Frappe Framework: v15.12.0 (version-15) ERPNext: v15.27.7 (version-15)
Installation method
None
Relevant log output / Stack trace / Full Error Message.
No response