mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-26 10:08:30 +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()
|
||||
@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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user