Index: /main/waeup.ikoba/trunk/src/waeup/ikoba/customers/export.py
===================================================================
--- /main/waeup.ikoba/trunk/src/waeup/ikoba/customers/export.py	(revision 12274)
+++ /main/waeup.ikoba/trunk/src/waeup/ikoba/customers/export.py	(revision 12275)
@@ -128,10 +128,14 @@
     grok.name('customers')
 
-    #: Fieldnames considered by this exporter
-    fields = tuple(sorted(iface_names(ICustomer))) + (
-        'password', 'state', 'history',)
+    iface = ICustomer
 
     #: The title under which this exporter will be displayed
     title = _(u'Customers')
+
+    #: Fieldnames considered by this exporter
+    @property
+    def fields(self):
+        return tuple(sorted(iface_names(self.iface))) + (
+            'password', 'state', 'history',)
 
     def mangle_value(self, value, name, context=None):
@@ -152,20 +156,23 @@
     grok.name('customerdocuments')
 
-    #: Fieldnames considered by this exporter
-    fields = tuple(
-        sorted(iface_names(
-            ICustomerDocument,
-            exclude_attribs=False,
-            omit=['is_editable_by_customer',
-                  'is_editable_by_manager',
-                  'is_verifiable',
-                  'translated_state',
-                  'formatted_transition_date',
-                  'translated_class_name',
-                  'connected_files',   # Could be used to export file URLs
-                  ])))
+    iface = ICustomerDocument
 
     #: The title under which this exporter will be displayed
     title = _(u'Customer Documents')
+
+    #: Fieldnames considered by this exporter
+    @property
+    def fields(self):
+        return tuple(
+            sorted(iface_names(
+                self.iface, exclude_attribs=False,
+                omit=['is_editable_by_customer',
+                      'is_editable_by_manager',
+                      'is_verifiable',
+                      'translated_state',
+                      'formatted_transition_date',
+                      'translated_class_name',
+                      'connected_files',   # Could be used to export file URLs
+                      ])))
 
     def filter_func(self, x, **kw):
@@ -186,17 +193,20 @@
     grok.name('contracts')
 
-    #: Fieldnames considered by this exporter
-    fields = tuple(
-        sorted(iface_names(
-            ISampleContract,
-            exclude_attribs=False,
-            omit=['translated_state',
-                  'formatted_transition_date',
-                  'translated_class_name',
-                  'is_editable_by_customer',
-                  'is_approvable'])))
+    iface = ISampleContract
 
     #: The title under which this exporter will be displayed
     title = _(u'Contracts')
+
+    #: Fieldnames considered by this exporter
+    @property
+    def fields(self):
+        return tuple(
+            sorted(iface_names(
+                self.iface, exclude_attribs=False,
+                omit=['translated_state',
+                      'formatted_transition_date',
+                      'translated_class_name',
+                      'is_editable_by_customer',
+                      'is_approvable'])))
 
     def filter_func(self, x, **kw):
