Merge pull request #56708 from frappe/fix-redundant-cast

chore: remove redundant type cast
This commit is contained in:
Mihir Kandoi
2026-07-01 17:35:18 +05:30
committed by GitHub

View File

@@ -1220,8 +1220,6 @@ def get_item_price(pctx: frappe._dict, item_code, ignore_party=False, force_batc
optional fields transaction_date, customer, supplier optional fields transaction_date, customer, supplier
:param item_code: str, Item Doctype field item_code :param item_code: str, Item Doctype field item_code
""" """
pctx: frappe._dict = frappe._dict(pctx)
ip = frappe.qb.DocType("Item Price") ip = frappe.qb.DocType("Item Price")
query = ( query = (
frappe.qb.from_(ip) frappe.qb.from_(ip)