Changeset 9991 for main/waeup.futminna/trunk/src/waeup/futminna/students
- Timestamp:
- 24 Feb 2013, 17:45:30 (12 years ago)
- Location:
- main/waeup.futminna/trunk/src/waeup/futminna/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.futminna/trunk/src/waeup/futminna/students/browser.py
r9954 r9991 33 33 grok.context(ICustomStudentOnlinePayment) 34 34 form_fields = grok.AutoFields(ICustomStudentOnlinePayment).omit( 35 'provider_amt', 'gateway_amt', 'thirdparty_amt' )35 'provider_amt', 'gateway_amt', 'thirdparty_amt', 'p_item') 36 36 form_fields[ 37 37 'creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') … … 50 50 grok.context(ICustomStudentOnlinePayment) 51 51 form_fields = grok.AutoFields(ICustomStudentOnlinePayment).omit( 52 'provider_amt', 'gateway_amt', 'thirdparty_amt' )52 'provider_amt', 'gateway_amt', 'thirdparty_amt', 'p_item') 53 53 form_fields['creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') 54 54 form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') -
main/waeup.futminna/trunk/src/waeup/futminna/students/payments.py
r8744 r9991 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.