Fix in webmodel
This commit is contained in:
parent
2e7478e838
commit
5bafaae58b
1 changed files with 9 additions and 1 deletions
|
|
@ -466,7 +466,15 @@ class WebModel:
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
||||||
fields, values, update_values=self.check_all_fields(dict_values, external_agent)
|
#fields, values, update_values=self.check_all_fields(dict_values, external_agent)
|
||||||
|
arr_return=self.check_all_fields(dict_values, external_agent)
|
||||||
|
|
||||||
|
if arr_return:
|
||||||
|
|
||||||
|
fields, values, update_values=arr_return
|
||||||
|
|
||||||
|
else:
|
||||||
|
return False
|
||||||
|
|
||||||
except:
|
except:
|
||||||
self.query_error='Cannot insert the new row'
|
self.query_error='Cannot insert the new row'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue