Changeset 2436
- Timestamp:
- 25 Oct 2007, 20:31:49 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/WAeUPTool.py
r2435 r2436 1285 1285 f2t = self.field2types_student 1286 1286 d = {} 1287 d['jamb_sex'] = 'M'1288 if mapping.get('sex'):1289 d['jamb_sex'] = 'F'1290 1287 transition = mapping.get('reg_transition','admit') 1291 1288 if transition not in ('admit','return'): … … 1298 1295 for field in f2t[pt]['fields']: 1299 1296 d[field] = mapping.get(field,'') 1297 1298 if pt == "StudentApplication": 1299 d['jamb_sex'] = 'M' 1300 if mapping.get('sex'): 1301 d['jamb_sex'] = 'F' 1302 d['jamb_firstname'] = mapping.get('firstname',None) 1303 d['jamb_middlename'] = mapping.get('middlename',None) 1304 d['jamb_lastname'] = mapping.get('lastname',None) 1305 1300 1306 # if pt == "StudyCourse": 1301 1307 # for von,zu in (('entry_mode','current_mode'), … … 1473 1479 return em 1474 1480 if mode == "create": 1475 required_keys = [layout.getIdUnprefixed(id) 1481 required_keys = [layout.getIdUnprefixed(id) 1476 1482 for id,widget in layout.objectItems() 1477 1483 if widget.is_required] … … 1505 1511 else: 1506 1512 item = temp_item 1507 if error_string: 1513 if error_string: 1508 1514 item['Error'] = error_string 1509 1515 not_imported.append(format_error % item)
Note: See TracChangeset for help on using the changeset viewer.