[fix] Update in get_values (ignore) condition to allow tags
This commit is contained in:
parent
7076ff2260
commit
bbaa1df757
1 changed files with 3 additions and 3 deletions
|
|
@ -323,10 +323,10 @@ class Database:
|
|||
try:
|
||||
return self.get_values_from_table(fields, filters, doctype, as_dict, debug)
|
||||
except Exception, e:
|
||||
if e.args[0]!=1146:
|
||||
if ignore and e.args[0] in (1146, 1054):
|
||||
return None
|
||||
else:
|
||||
raise e
|
||||
|
||||
# not a table, try in singles
|
||||
|
||||
return self.get_values_from_single(fields, filters, doctype, as_dict, debug)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue