add empty string for unsed field

This commit is contained in:
David Kilias 2020-03-14 15:12:11 +01:00
parent 029b9c2c22
commit 028b4b1c72

View file

@ -29,6 +29,7 @@ class base_data_model():
def get_form_values_dict(self): def get_form_values_dict(self):
base_data = dict(zip(self.forms.keys(), map(lambda f: f.value, self.forms.values()))) base_data = dict(zip(self.forms.keys(), map(lambda f: f.value, self.forms.values())))
base_data['address_region'] = ''
return base_data return base_data
def has_changed(self): def has_changed(self):