Add empty default when displaying values in grid

This commit is contained in:
Lance Edgar 2018-01-06 19:20:55 -06:00
parent 46d0e96321
commit 582aabc1a3

View file

@ -668,7 +668,7 @@ class Form(object):
try:
return record[field_name]
except TypeError:
return getattr(record, field_name)
return getattr(record, field_name, None)
def validate(self, *args, **kwargs):
raise_error = kwargs.pop('raise_error', True)