Changeset 9990 for main/waeup.aaue/trunk
- Timestamp:
- 24 Feb 2013, 17:45:04 (12 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/applicants/payment.py
r8931 r9990 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.aaue/trunk/src/waeup/aaue/students/browser.py
r9968 r9990 41 41 grok.context(ICustomStudentOnlinePayment) 42 42 form_fields = grok.AutoFields(ICustomStudentOnlinePayment).omit( 43 'provider_amt', 'gateway_amt', 'thirdparty_amt' )43 'provider_amt', 'gateway_amt', 'thirdparty_amt', 'p_item') 44 44 form_fields[ 45 45 'creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') … … 58 58 grok.context(ICustomStudentOnlinePayment) 59 59 form_fields = grok.AutoFields(ICustomStudentOnlinePayment).omit( 60 'provider_amt', 'gateway_amt', 'thirdparty_amt' )60 'provider_amt', 'gateway_amt', 'thirdparty_amt', 'p_item') 61 61 form_fields['creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') 62 62 form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') -
main/waeup.aaue/trunk/src/waeup/aaue/students/payments.py
r9755 r9990 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.