Changeset 9992 for main/waeup.kwarapoly
- Timestamp:
- 24 Feb 2013, 17:45:49 (12 years ago)
- Location:
- main/waeup.kwarapoly/trunk/src/waeup/kwarapoly
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/applicants/payment.py
r9347 r9992 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.kwarapoly/trunk/src/waeup/kwarapoly/students/browser.py
r9955 r9992 37 37 grok.context(ICustomStudentOnlinePayment) 38 38 form_fields = grok.AutoFields(ICustomStudentOnlinePayment).omit( 39 'provider_amt', 'gateway_amt', 'thirdparty_amt' )39 'provider_amt', 'gateway_amt', 'thirdparty_amt', 'p_item') 40 40 form_fields[ 41 41 'creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') … … 54 54 grok.context(ICustomStudentOnlinePayment) 55 55 form_fields = grok.AutoFields(ICustomStudentOnlinePayment).omit( 56 'provider_amt', 'gateway_amt', 'thirdparty_amt' )56 'provider_amt', 'gateway_amt', 'thirdparty_amt', 'p_item') 57 57 form_fields['creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') 58 58 form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') -
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students/payments.py
r9347 r9992 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.