ignore computed fields

This commit is contained in:
mdipierro committed 2017-12-04 23:45:03 -06:00
1 parent 4f51647b2f
commit 4697e0e45b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1840,7 +1840,7 @@ class SQLFORM(FORM):
continue continue
field = self.table[fieldname] field = self.table[fieldname]
if field.type == 'id': if field.type == 'id' or field.compute:
continue continue
if field.type == 'boolean': if field.type == 'boolean':
if self.vars.get(fieldname, False): if self.vars.get(fieldname, False):