chore: remove unused import
This commit is contained in:
parent
73ade04dcf
commit
bc3023318e
@ -6,8 +6,6 @@ import frappe
|
|||||||
from frappe import _
|
from frappe import _
|
||||||
from frappe.utils.dashboard import cache_source
|
from frappe.utils.dashboard import cache_source
|
||||||
|
|
||||||
from erpnext.stock.utils import get_stock_value_from_bin
|
|
||||||
|
|
||||||
|
|
||||||
@frappe.whitelist()
|
@frappe.whitelist()
|
||||||
@cache_source
|
@cache_source
|
||||||
@ -38,7 +36,7 @@ def get(
|
|||||||
fields=["warehouse", "stock_value"],
|
fields=["warehouse", "stock_value"],
|
||||||
filters={"warehouse": ["IN", warehouses], "stock_value": [">", 0]},
|
filters={"warehouse": ["IN", warehouses], "stock_value": [">", 0]},
|
||||||
order_by="stock_value DESC",
|
order_by="stock_value DESC",
|
||||||
limit_page_length=10
|
limit_page_length=10,
|
||||||
)
|
)
|
||||||
|
|
||||||
if not warehouses:
|
if not warehouses:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user