Fixes bugs from paramecio2

This commit is contained in:
Antonio de la Rosa 2021-02-16 16:26:07 +01:00
parent 2ddb0699ae
commit ebcd595fde

View file

@ -736,7 +736,7 @@ class WebModel:
row=False
else:
if self.show_formatted:
for k, col in row.items():
#for k, col in row.items():
row[k]={k:self.fields[k].show_formatted(col) for k,col in row.items()}
@ -926,7 +926,7 @@ class WebModel:
try:
in_list[x]=str(int(in_list[x]))
except:
in_list[x]=str(0)
in_list[x]='0'
return '('+', '.join(in_list)+')'
def check_in_list_str(self, field, in_list):