Index: /main/waeup.ikoba/trunk/src/waeup/ikoba/customers/documents.py
===================================================================
--- /main/waeup.ikoba/trunk/src/waeup/ikoba/customers/documents.py	(revision 12164)
+++ /main/waeup.ikoba/trunk/src/waeup/ikoba/customers/documents.py	(revision 12165)
@@ -121,5 +121,6 @@
                 attrname = filename.replace('.','_')
                 file = store.getFileByContext(self, attr=filename)
-                files.append((attrname, file))
+                if file:
+                    files.append((attrname, file))
         except AttributeError:
             # In unit tests we don't have a customer to
