Changeset 5202
- Timestamp:
- 23 May 2010, 04:26:23 (15 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPTables.py
r5200 r5202 861 861 'phone', 862 862 'marit_stat', 863 'firstname', 864 'middlename', 865 'lastname', 863 866 ) 864 867 }, -
WAeUP_SRP/trunk/profiles/default/students_catalog.xml
r5200 r5202 81 81 <column value="date_of_birth"/> 82 82 <column value="marit_stat"/> 83 <column value="firstname"/> 84 <column value="middlename"/> 85 <column value="lastname"/> 83 86 84 87 </object> -
WAeUP_SRP/trunk/skins/waeup_utilities/fillMetadata.py
r5200 r5202 36 36 continue 37 37 #from Products.zdb import set_trace;set_trace() 38 marit_stat = per.getContent().marit_stat 38 per_doc = per.getContent() 39 marit_stat = per_doc.marit_stat 39 40 if marit_stat == True: 40 41 ms = 'married' … … 43 44 else: 44 45 ms = 'undefined' 46 fn = per_doc.firstname 47 mn = per_doc.middlename 48 ln = per_doc.lastname 45 49 46 50 clear = getattr(student,'clearance',None) … … 53 57 bd = '' 54 58 55 context.students_catalog.modifyRecord(id = sbrain.id,marit_stat = ms, date_of_birth = bd )59 context.students_catalog.modifyRecord(id = sbrain.id,marit_stat = ms, date_of_birth = bd,firstname = fn, middlename = mn,lastname = ln) 56 60 return 'ready' 57 61
Note: See TracChangeset for help on using the changeset viewer.