Changeset 17701 for main/kofacustom.iuokada/trunk/src
- Timestamp:
- 21 Feb 2024, 12:53:14 (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants/browser.py
r17159 r17701 341 341 def dataNotComplete(self, data): 342 342 store = getUtility(IExtFileStore) 343 if self.context.__parent__.with_picture: 344 store = getUtility(IExtFileStore) 345 if not store.getFileByContext(self.context, attr=u'passport.jpg'): 346 return _('No passport picture uploaded.') 347 if grok.getSite().__name__ == 'iuokada-cdl': 348 return False 343 349 if self.context.subtype \ 344 350 and self.context.subtype not in ('transfer', 'de', 'jupeb') \ … … 349 355 and not self.context.ref_number: 350 356 return _('Reference Number field must be filled.') 351 if self.context.__parent__.with_picture:352 store = getUtility(IExtFileStore)353 if not store.getFileByContext(self.context, attr=u'passport.jpg'):354 return _('No passport picture uploaded.')355 357 if self.context.subtype == 'transfer' \ 356 358 and self.context.__parent__.code!= 'ug2020' \
Note: See TracChangeset for help on using the changeset viewer.