fix: default pos conversion factor set to 1 (#34437)
This commit is contained in:
parent
59c2e7ec3e
commit
08fc686513
@ -55,7 +55,7 @@ def search_by_term(search_term, warehouse, price_list):
|
|||||||
)
|
)
|
||||||
|
|
||||||
item_stock_qty, is_stock_item = get_stock_availability(item_code, warehouse)
|
item_stock_qty, is_stock_item = get_stock_availability(item_code, warehouse)
|
||||||
item_stock_qty = item_stock_qty // item.get("conversion_factor")
|
item_stock_qty = item_stock_qty // item.get("conversion_factor", 1)
|
||||||
item.update({"actual_qty": item_stock_qty})
|
item.update({"actual_qty": item_stock_qty})
|
||||||
|
|
||||||
price = frappe.get_list(
|
price = frappe.get_list(
|
||||||
|
Loading…
Reference in New Issue
Block a user