Changeset 9992 for main/waeup.kwarapoly


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

Adjust to changes made in base package.

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

Legend:

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

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

    r9955 r9992  
    3737    grok.context(ICustomStudentOnlinePayment)
    3838    form_fields = grok.AutoFields(ICustomStudentOnlinePayment).omit(
    39         'provider_amt', 'gateway_amt', 'thirdparty_amt')
     39        'provider_amt', 'gateway_amt', 'thirdparty_amt', 'p_item')
    4040    form_fields[
    4141        'creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
     
    5454    grok.context(ICustomStudentOnlinePayment)
    5555    form_fields = grok.AutoFields(ICustomStudentOnlinePayment).omit(
    56         'provider_amt', 'gateway_amt', 'thirdparty_amt')
     56        'provider_amt', 'gateway_amt', 'thirdparty_amt', 'p_item')
    5757    form_fields['creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    5858    form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students/payments.py

    r9347 r9992  
    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.