Ignore:
Timestamp:
30 Nov 2014, 21:08:42 (10 years ago)
Author:
Henrik Bettermann
Message:

Renaming batch 3

File:
1 edited

Legend:

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

    r12097 r12099  
    11171117
    11181118    @property
    1119     def selectable_apptypes(self):
    1120         apptypes = getUtility(ICustomersUtils).SELECTABLE_APPTYPES_DICT
    1121         return sorted(apptypes.items())
     1119    def selectable_contypes(self):
     1120        contypes = getUtility(ICustomersUtils).SELECTABLE_CONTYPES_DICT
     1121        return sorted(contypes.items())
    11221122
    11231123    @action(_('Create contract'), style='primary')
     
    11301130        contract = createObject('waeup.%s' % apptype)
    11311131        self.context.addContract(contract)
    1132         apptype = getUtility(ICustomersUtils).SELECTABLE_APPTYPES_DICT[apptype]
     1132        apptype = getUtility(ICustomersUtils).SELECTABLE_CONTYPES_DICT[apptype]
    11331133        self.flash(_('${a} created.',
    11341134            mapping = {'a': apptype}))
Note: See TracChangeset for help on using the changeset viewer.