From 09a8905b2d9d482aac5d70586c7acd9d55d11d98 Mon Sep 17 00:00:00 2001 From: Mihir Kandoi Date: Mon, 15 Dec 2025 14:20:10 +0530 Subject: [PATCH] fix: price list arg type error --- erpnext/stock/get_item_details.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/stock/get_item_details.py b/erpnext/stock/get_item_details.py index e88f621f090..70dd447ea98 100644 --- a/erpnext/stock/get_item_details.py +++ b/erpnext/stock/get_item_details.py @@ -1459,7 +1459,7 @@ def get_batch_qty(batch_no, warehouse, item_code): @frappe.whitelist() @erpnext.normalize_ctx_input(ItemDetailsCtx) -def apply_price_list(ctx: ItemDetailsCtx, as_doc=False, doc=None): +def apply_price_list(ctx, as_doc=False, doc=None): """Apply pricelist on a document-like dict object and return as {'parent': dict, 'children': list}