diff options
Diffstat (limited to 'ishtar_common')
| -rw-r--r-- | ishtar_common/data_importer.py | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/ishtar_common/data_importer.py b/ishtar_common/data_importer.py index 2680cb05b..b0e01d70d 100644 --- a/ishtar_common/data_importer.py +++ b/ishtar_common/data_importer.py @@ -1490,7 +1490,8 @@ class Importer(object):                      if attribute not in new_created:                          new_created[attribute] = []                      new_created[attribute].append(key) -                    has_values = bool([1 for k in v if v[k]]) +                    has_values = bool([1 for k in v +                                       if v[k] and k != "defaults"])                      if has_values:                          if self.MODEL_CREATION_LIMIT and \                                          model not in self.MODEL_CREATION_LIMIT:  | 
