mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-20 05:29:18 +00:00
fix: type hint in make depreciation entry function
This commit is contained in:
@@ -164,7 +164,7 @@ def get_depr_cost_center_and_series():
|
|||||||
|
|
||||||
@frappe.whitelist()
|
@frappe.whitelist()
|
||||||
def make_depreciation_entry(
|
def make_depreciation_entry(
|
||||||
depr_schedule_name: str,
|
depr_schedule_name: str | list[dict],
|
||||||
date: DateTimeLikeObject | None = None,
|
date: DateTimeLikeObject | None = None,
|
||||||
sch_start_idx: int | None = None,
|
sch_start_idx: int | None = None,
|
||||||
sch_end_idx: int | None = None,
|
sch_end_idx: int | None = None,
|
||||||
|
|||||||
Reference in New Issue
Block a user