mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-23 06:59:20 +00:00
fix: update type hint for get_item_tax_template function
This commit is contained in:
@@ -704,7 +704,9 @@ def get_item_tax_info(
|
|||||||
|
|
||||||
@frappe.whitelist()
|
@frappe.whitelist()
|
||||||
@erpnext.normalize_ctx_input(ItemDetailsCtx)
|
@erpnext.normalize_ctx_input(ItemDetailsCtx)
|
||||||
def get_item_tax_template(ctx: ItemDetailsCtx, item: Document | None = None, out: ItemDetails | None = None):
|
def get_item_tax_template(
|
||||||
|
ctx: ItemDetailsCtx | str, item: Document | None = None, out: ItemDetails | None = None
|
||||||
|
):
|
||||||
"""
|
"""
|
||||||
Determines item_tax template from item or parent item groups.
|
Determines item_tax template from item or parent item groups.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user