Changeset 9991 for main/waeup.futminna


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

Adjust to changes made in base package.

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

Legend:

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

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

    r9954 r9991  
    3333    grok.context(ICustomStudentOnlinePayment)
    3434    form_fields = grok.AutoFields(ICustomStudentOnlinePayment).omit(
    35         'provider_amt', 'gateway_amt', 'thirdparty_amt')
     35        'provider_amt', 'gateway_amt', 'thirdparty_amt', 'p_item')
    3636    form_fields[
    3737        'creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
     
    5050    grok.context(ICustomStudentOnlinePayment)
    5151    form_fields = grok.AutoFields(ICustomStudentOnlinePayment).omit(
    52         'provider_amt', 'gateway_amt', 'thirdparty_amt')
     52        'provider_amt', 'gateway_amt', 'thirdparty_amt', 'p_item')
    5353    form_fields['creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    5454    form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
  • main/waeup.futminna/trunk/src/waeup/futminna/students/payments.py

    r8744 r9991  
    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.