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

Adjust to changes made in base package.

Location:
main/waeup.uniben/trunk/src/waeup/uniben
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/applicants/payment.py

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

    r9971 r9993  
    7171    grok.context(ICustomStudentOnlinePayment)
    7272    form_fields = grok.AutoFields(ICustomStudentOnlinePayment).omit(
    73         'provider_amt', 'gateway_amt', 'thirdparty_amt')
     73        'provider_amt', 'gateway_amt', 'thirdparty_amt', 'p_item')
    7474    form_fields[
    7575        'creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
     
    108108    grok.context(ICustomStudentOnlinePayment)
    109109    form_fields = grok.AutoFields(ICustomStudentOnlinePayment).omit(
    110         'provider_amt', 'gateway_amt', 'thirdparty_amt')
     110        'provider_amt', 'gateway_amt', 'thirdparty_amt', 'p_item')
    111111    form_fields['creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    112112    form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
  • main/waeup.uniben/trunk/src/waeup/uniben/students/payments.py

    r8741 r9993  
    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.