From b81e1f8fe9f1ed35d19c083470d74535067f99b1 Mon Sep 17 00:00:00 2001 From: ljain112 Date: Mon, 1 Dec 2025 17:05:00 +0530 Subject: [PATCH] chore: remove unwanted strings (cherry picked from commit 8ee2cbf259abf9d1357f28ebd2b0bf8945b2c0d8) --- erpnext/assets/doctype/asset_repair/asset_repair.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/erpnext/assets/doctype/asset_repair/asset_repair.py b/erpnext/assets/doctype/asset_repair/asset_repair.py index 15e75d946e3..d6d30e39f87 100644 --- a/erpnext/assets/doctype/asset_repair/asset_repair.py +++ b/erpnext/assets/doctype/asset_repair/asset_repair.py @@ -507,13 +507,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",