mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +00:00
Merge pull request #51349 from KerollesFathy/fix-type-error
This commit is contained in:
@@ -56,9 +56,7 @@ def _preprocess_ctx(ctx):
|
|||||||
|
|
||||||
@frappe.whitelist()
|
@frappe.whitelist()
|
||||||
@erpnext.normalize_ctx_input(ItemDetailsCtx)
|
@erpnext.normalize_ctx_input(ItemDetailsCtx)
|
||||||
def get_item_details(
|
def get_item_details(ctx, doc=None, for_validate=False, overwrite_warehouse=True) -> ItemDetails:
|
||||||
ctx: ItemDetailsCtx, doc=None, for_validate=False, overwrite_warehouse=True
|
|
||||||
) -> ItemDetails:
|
|
||||||
"""
|
"""
|
||||||
ctx = {
|
ctx = {
|
||||||
"item_code": "",
|
"item_code": "",
|
||||||
|
|||||||
Reference in New Issue
Block a user