Changeset 12130 for main


Ignore:
Timestamp:
3 Dec 2014, 18:12:37 (10 years ago)
Author:
Henrik Bettermann
Message:

customer_id is replaced by user_id.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/export.py

    r12076 r12130  
    150150                  'translated_state',
    151151                  'formatted_transition_date',
    152                   'translated_class_name']))) + (
    153             'customer_id',)
     152                  'translated_class_name'])))
    154153
    155154    #: The title under which this exporter will be displayed
     
    164163        if name == 'history':
    165164            value = value.messages
    166         if context is not None:
    167             customer = context.customer
    168             if name in ('customer_id',) and customer is not None:
    169                 value = getattr(customer, name, None)
    170165        return super(
    171166            CustomerDocumentExporter, self).mangle_value(
Note: See TracChangeset for help on using the changeset viewer.