fix!: Remove weird fallback to tabSingles (#36517)
This doesn't make any sense.
This commit is contained in:
parent
76253eba00
commit
fa45415086
1 changed files with 0 additions and 16 deletions
|
|
@ -677,22 +677,6 @@ class Database:
|
|||
or str(e).startswith("Invalid DocType")
|
||||
):
|
||||
out = None
|
||||
elif (not ignore) and frappe.db.is_table_missing(e):
|
||||
# table not found, look in singles
|
||||
fields = (
|
||||
[fieldname] if (isinstance(fieldname, str) and fieldname != "*") else fieldname
|
||||
)
|
||||
out = self.get_values_from_single(
|
||||
fields,
|
||||
filters,
|
||||
doctype,
|
||||
as_dict,
|
||||
debug,
|
||||
update,
|
||||
run=run,
|
||||
distinct=distinct,
|
||||
)
|
||||
|
||||
else:
|
||||
raise
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue