Ignore:
Timestamp:
24 Feb 2013, 10:40:32 (12 years ago)
Author:
Henrik Bettermann
Message:

Adjust to changes made in base package.

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  
    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.fceokene/trunk/src/waeup/fceokene/students/browser.py

    r9953 r9986  
    6262    grok.context(ICustomStudentOnlinePayment)
    6363    form_fields = grok.AutoFields(ICustomStudentOnlinePayment).omit(
    64         'provider_amt', 'gateway_amt', 'thirdparty_amt')
     64        'provider_amt', 'gateway_amt', 'thirdparty_amt', 'p_item')
    6565    form_fields[
    6666        'creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
     
    7979    grok.context(ICustomStudentOnlinePayment)
    8080    form_fields = grok.AutoFields(ICustomStudentOnlinePayment).omit(
    81         'provider_amt', 'gateway_amt', 'thirdparty_amt')
     81        'provider_amt', 'gateway_amt', 'thirdparty_amt', 'p_item')
    8282    form_fields['creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    8383    form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/payments.py

    r8745 r9986  
    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.