chore: remove unwanted strings

(cherry picked from commit 8ee2cbf259)
This commit is contained in:
ljain112
2025-12-01 17:05:00 +05:30
committed by Mergify
parent 5279bec1b2
commit b81e1f8fe9

View File

@@ -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",