Changeset 12486 for main


Ignore:
Timestamp:
18 Jan 2015, 09:38:57 (10 years ago)
Author:
Henrik Bettermann
Message:

Rename interface.

Location:
main/waeup.ikoba/trunk/src/waeup/ikoba/customers
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser.py

    r12445 r12486  
    5454    ICustomer, ICustomersContainer, ICustomerRequestPW, ICustomersUtils,
    5555    ICustomerDocument, ICustomerDocumentsContainer, ICustomerCreate,
    56     ICustomerPDFDocument, IContractsContainer, IContract, IContractEdit,
    57     ISampleContract,
     56    ICustomerPDFDocument, IContractsContainer, IContract,
     57    IContractSelectProduct, ISampleContract,
    5858    )
    5959from waeup.ikoba.customers.catalog import search
     
    13021302    pnav = 4
    13031303
    1304     form_fields = grok.AutoFields(IContractEdit).select('product_object')
     1304    form_fields = grok.AutoFields(IContractSelectProduct)
    13051305
    13061306    def update(self):
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/contracts.py

    r12363 r12486  
    3131from waeup.ikoba.customers.interfaces import (
    3232    IContractsContainer, ICustomerNavigation,
    33     IContract, IContractProcess, IContractEdit, ICustomersUtils,
     33    IContract, IContractProcess, IContractSelectProduct, ICustomersUtils,
    3434    ISampleContract, ISampleContractProcess, ISampleContractEdit)
    3535from waeup.ikoba.customers.utils import generate_contract_id
     
    6161    """This is a customer contract baseclass.
    6262    """
    63     grok.implements(IContractEdit)  # Necesary for the selectproduct page
     63    grok.implements(IContractSelectProduct)  # Necesary for the selectproduct page
    6464
    6565    grok.baseclass()
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/interfaces.py

    r12363 r12486  
    334334
    335335
    336 class IContractEdit(IContract):
    337     """Interface for editing contract data by customers.
     336class IContractSelectProduct(Interface):
     337    """Interface for for the ContractSelectProductPage.
    338338
    339339    """
Note: See TracChangeset for help on using the changeset viewer.