mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 11:09:17 +00:00
chore: remove unwanted strings
This commit is contained in:
@@ -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]:
|
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.
|
Get expense accounts for non-stock items from the purchase invoice.
|
||||||
|
|
||||||
Args:
|
|
||||||
purchase_invoice: The Purchase Invoice name
|
|
||||||
|
|
||||||
Returns:
|
|
||||||
List of expense account names
|
|
||||||
"""
|
"""
|
||||||
pi_items = frappe.db.get_all(
|
pi_items = frappe.db.get_all(
|
||||||
"Purchase Invoice Item",
|
"Purchase Invoice Item",
|
||||||
|
|||||||
Reference in New Issue
Block a user