Changeset 1987
- Timestamp:
- 5 Jul 2007, 09:55:08 (17 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPTool.py
r1965 r1987 855 855 d[zu] = mapping[von] 856 856 sub_doc.edit(mapping = d) 857 858 new_state = f2t[pt]['wf_transition_admitted'] 857 transition = mapping.get('reg_transition','admitted') 858 if transition not in ('admitted','returning'): 859 transition = 'admitted' 860 #import pdb;pdb.set_trace() 861 new_state = f2t[pt]['wf_transition_%(transition)s' % vars()] 859 862 if new_state != "remain": 860 863 self.portal_workflow.doActionFor(sub_obj,new_state,dest_container=sub_obj) -
WAeUP_SRP/trunk/profiles/default/layouts/import_student.xml
r1986 r1987 8 8 <property name="flexible_widgets"/> 9 9 <property name="validate_values_expr"></property> 10 <widget name="reg_transition" meta_type="String Widget"> 11 <property name="title">Transition after import</property> 12 <property name="fields"> 13 <element value="reg_transition"/> 14 </property> 15 <property name="label">Transition</property> 16 <property name="label_edit">Transition</property> 17 <property name="readonly_layout_modes"/> 18 <property name="hidden_layout_modes"/> 19 <property name="hidden_readonly_layout_modes"/> 20 </widget> 10 21 <widget name="email" meta_type="Email Widget"> 11 22 <property name="title">Email</property> -
WAeUP_SRP/trunk/profiles/default/schemas/import_student.xml
r1804 r1987 2 2 <?xml-stylesheet type="text/xsl" href="schema.xsl"?> 3 3 <object name="import_student" meta_type="CPS Schema"> 4 <field name="reg_transition" meta_type="CPS String Field"/> 4 5 <field name="firstname" meta_type="CPS String Field"/> 5 6 <field name="middlename" meta_type="CPS String Field"/>
Note: See TracChangeset for help on using the changeset viewer.