mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-15 18:01:41 +00:00
Merge pull request #56708 from frappe/fix-redundant-cast
chore: remove redundant type cast
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user