- Timestamp:
- 24 Feb 2013, 10:40:32 (12 years ago)
- Location:
- main/waeup.fceokene/trunk/src/waeup/fceokene
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/payment.py
r8933 r9986 41 41 return 42 42 43 CustomApplicantOnlinePayment = attrs_to_fields(CustomApplicantOnlinePayment) 43 CustomApplicantOnlinePayment = attrs_to_fields( 44 CustomApplicantOnlinePayment, omit=['display_item']) 44 45 45 46 # Applicant online payments must be importable. So we might need a factory. -
main/waeup.fceokene/trunk/src/waeup/fceokene/students/browser.py
r9953 r9986 62 62 grok.context(ICustomStudentOnlinePayment) 63 63 form_fields = grok.AutoFields(ICustomStudentOnlinePayment).omit( 64 'provider_amt', 'gateway_amt', 'thirdparty_amt' )64 'provider_amt', 'gateway_amt', 'thirdparty_amt', 'p_item') 65 65 form_fields[ 66 66 'creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') … … 79 79 grok.context(ICustomStudentOnlinePayment) 80 80 form_fields = grok.AutoFields(ICustomStudentOnlinePayment).omit( 81 'provider_amt', 'gateway_amt', 'thirdparty_amt' )81 'provider_amt', 'gateway_amt', 'thirdparty_amt', 'p_item') 82 82 form_fields['creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') 83 83 form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') -
main/waeup.fceokene/trunk/src/waeup/fceokene/students/payments.py
r8745 r9986 47 47 return self.__parent__.__parent__ 48 48 49 CustomStudentOnlinePayment = attrs_to_fields(CustomStudentOnlinePayment) 49 CustomStudentOnlinePayment = attrs_to_fields( 50 CustomStudentOnlinePayment, omit=['display_item']) 50 51 51 52 class CustomStudentOnlinePaymentFactory(StudentOnlinePaymentFactory):
Note: See TracChangeset for help on using the changeset viewer.