diff --git a/erpnext/assets/doctype/asset_repair/asset_repair.py b/erpnext/assets/doctype/asset_repair/asset_repair.py index d9a6742a59a..0869f80dc79 100644 --- a/erpnext/assets/doctype/asset_repair/asset_repair.py +++ b/erpnext/assets/doctype/asset_repair/asset_repair.py @@ -498,13 +498,7 @@ def get_expense_accounts(doctype, txt, searchfield, start, page_len, filters): def _get_expense_accounts_for_purchase_invoice(purchase_invoice: str) -> list[str]: """ - Internal function to get expense accounts for non-stock items from the purchase invoice. - - Args: - purchase_invoice: The Purchase Invoice name - - Returns: - List of expense account names + Get expense accounts for non-stock items from the purchase invoice. """ pi_items = frappe.db.get_all( "Purchase Invoice Item",