Changeset 9990 for main/waeup.aaue/trunk


Ignore:
Timestamp:
24 Feb 2013, 17:45:04 (12 years ago)
Author:
Henrik Bettermann
Message:

Adjust to changes made in base package.

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  
    4141        return
    4242
    43 CustomApplicantOnlinePayment = attrs_to_fields(CustomApplicantOnlinePayment)
     43CustomApplicantOnlinePayment = attrs_to_fields(
     44    CustomApplicantOnlinePayment, omit=['display_item'])
    4445
    4546# Applicant online payments must be importable. So we might need a factory.
  • main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py

    r9968 r9990  
    4141    grok.context(ICustomStudentOnlinePayment)
    4242    form_fields = grok.AutoFields(ICustomStudentOnlinePayment).omit(
    43         'provider_amt', 'gateway_amt', 'thirdparty_amt')
     43        'provider_amt', 'gateway_amt', 'thirdparty_amt', 'p_item')
    4444    form_fields[
    4545        'creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
     
    5858    grok.context(ICustomStudentOnlinePayment)
    5959    form_fields = grok.AutoFields(ICustomStudentOnlinePayment).omit(
    60         'provider_amt', 'gateway_amt', 'thirdparty_amt')
     60        'provider_amt', 'gateway_amt', 'thirdparty_amt', 'p_item')
    6161    form_fields['creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    6262    form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
  • main/waeup.aaue/trunk/src/waeup/aaue/students/payments.py

    r9755 r9990  
    4747        return self.__parent__.__parent__
    4848
    49 CustomStudentOnlinePayment = attrs_to_fields(CustomStudentOnlinePayment)
     49CustomStudentOnlinePayment = attrs_to_fields(
     50    CustomStudentOnlinePayment, omit=['display_item'])
    5051
    5152class CustomStudentOnlinePaymentFactory(StudentOnlinePaymentFactory):
Note: See TracChangeset for help on using the changeset viewer.