Changeset 12130
- Timestamp:
- 3 Dec 2014, 18:12:37 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/export.py
r12076 r12130 150 150 'translated_state', 151 151 'formatted_transition_date', 152 'translated_class_name']))) + ( 153 'customer_id',) 152 'translated_class_name']))) 154 153 155 154 #: The title under which this exporter will be displayed … … 164 163 if name == 'history': 165 164 value = value.messages 166 if context is not None:167 customer = context.customer168 if name in ('customer_id',) and customer is not None:169 value = getattr(customer, name, None)170 165 return super( 171 166 CustomerDocumentExporter, self).mangle_value(
Note: See TracChangeset for help on using the changeset viewer.