mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-13 20:18:45 +00:00
@@ -813,7 +813,7 @@ def create_pick_list(source_name, target_doc=None):
|
||||
},
|
||||
"Material Request Item": {
|
||||
"doctype": "Pick List Item",
|
||||
"field_map": {"name": "material_request_item", "qty": "stock_qty"},
|
||||
"field_map": {"name": "material_request_item", "stock_qty": "stock_qty"},
|
||||
},
|
||||
},
|
||||
target_doc,
|
||||
|
||||
@@ -838,7 +838,7 @@ def get_items_with_location_and_quantity(item_doc, item_location_map, docstatus)
|
||||
item_location = frappe._dict(item_location)
|
||||
|
||||
stock_qty = remaining_stock_qty if item_location.qty >= remaining_stock_qty else item_location.qty
|
||||
qty = stock_qty * (item_doc.conversion_factor or 1)
|
||||
qty = stock_qty / (item_doc.conversion_factor or 1)
|
||||
|
||||
uom_must_be_whole_number = frappe.get_cached_value("UOM", item_doc.uom, "must_be_whole_number")
|
||||
if uom_must_be_whole_number:
|
||||
|
||||
Reference in New Issue
Block a user