fix(stock): allow None for for_validate in get_item_details (#59290)

This commit is contained in:
Afsal Syed
2026-09-22 19:37:15 +05:30
committed by GitHub
parent 3b9c74024a
commit a41858a47d

View File

@@ -60,7 +60,7 @@ NOT_APPLICABLE_TAX = "N/A"
def get_item_details(
args: dict | str,
doc: Document | dict | str | None = None,
for_validate: bool | str = False,
for_validate: bool | str | None = False,
overwrite_warehouse: bool | str = True,
):
"""