mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 08:24:47 +00:00
refactor(serial_no): added missing type annotation on auto_fetch_serial_number
This commit is contained in:
@@ -191,7 +191,7 @@ def auto_fetch_serial_number(
|
|||||||
posting_date: str | None = None,
|
posting_date: str | None = None,
|
||||||
batch_nos: str | list[str] | None = None,
|
batch_nos: str | list[str] | None = None,
|
||||||
for_doctype: str | None = None,
|
for_doctype: str | None = None,
|
||||||
exclude_sr_nos=None,
|
exclude_sr_nos: str | None = None,
|
||||||
) -> list[str]:
|
) -> list[str]:
|
||||||
filters = frappe._dict({"item_code": item_code, "warehouse": warehouse})
|
filters = frappe._dict({"item_code": item_code, "warehouse": warehouse})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user