mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-01 04:28:27 +00:00
fix: get_item_details error
This commit is contained in:
@@ -56,9 +56,7 @@ def _preprocess_ctx(ctx):
|
||||
|
||||
@frappe.whitelist()
|
||||
@erpnext.normalize_ctx_input(ItemDetailsCtx)
|
||||
def get_item_details(
|
||||
ctx: ItemDetailsCtx, doc=None, for_validate=False, overwrite_warehouse=True
|
||||
) -> ItemDetails:
|
||||
def get_item_details(ctx, doc=None, for_validate=False, overwrite_warehouse=True) -> ItemDetails:
|
||||
"""
|
||||
ctx = {
|
||||
"item_code": "",
|
||||
|
||||
Reference in New Issue
Block a user