Fixes bugs from paramecio2
This commit is contained in:
parent
2ddb0699ae
commit
ebcd595fde
1 changed files with 3 additions and 3 deletions
|
|
@ -736,8 +736,8 @@ class WebModel:
|
||||||
row=False
|
row=False
|
||||||
else:
|
else:
|
||||||
if self.show_formatted:
|
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()}
|
row[k]={k:self.fields[k].show_formatted(col) for k,col in row.items()}
|
||||||
|
|
||||||
|
|
||||||
return row
|
return row
|
||||||
|
|
@ -926,7 +926,7 @@ class WebModel:
|
||||||
try:
|
try:
|
||||||
in_list[x]=str(int(in_list[x]))
|
in_list[x]=str(int(in_list[x]))
|
||||||
except:
|
except:
|
||||||
in_list[x]=str(0)
|
in_list[x]='0'
|
||||||
return '('+', '.join(in_list)+')'
|
return '('+', '.join(in_list)+')'
|
||||||
|
|
||||||
def check_in_list_str(self, field, in_list):
|
def check_in_list_str(self, field, in_list):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue