Ignore:
Timestamp:
23 Aug 2016, 06:17:04 (8 years ago)
Author:
Henrik Bettermann
Message:

Add log entry if pre-filled application record is used.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py

    r14109 r14110  
    13171317                applicant = createObject(u'waeup.Applicant')
    13181318                self.context.addApplicant(applicant)
     1319            else:
     1320                applicants_root = grok.getSite()['applicants']
     1321                ob_class = self.__implemented__.__name__.replace(
     1322                    'waeup.kofa.','')
     1323                applicants_root.logger.info('%s - used: %s' % (
     1324                    ob_class, applicant.applicant_id))
    13191325            self.applyData(applicant, **data)
    13201326            applicant.reg_number = applicant.applicant_id
Note: See TracChangeset for help on using the changeset viewer.