chore: minor typo in fixed asset register (#35801)

chore: renaming entries to assets
This commit is contained in:
Anand Baburajan 2023-06-20 13:03:15 +05:30 committed by GitHub
parent 0d12588583
commit df090cbe87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -210,9 +210,7 @@ def get_assets_linked_to_fb(filters):
company_fb = frappe.get_cached_value("Company", filters.company, "default_finance_book")
if filters.finance_book and company_fb and cstr(filters.finance_book) != cstr(company_fb):
frappe.throw(
_("To use a different finance book, please uncheck 'Include Default Book Entries'")
)
frappe.throw(_("To use a different finance book, please uncheck 'Include Default Book Assets'"))
query = query.where(
(afb.finance_book.isin([cstr(filters.finance_book), cstr(company_fb), ""]))