Ignore:
Timestamp:
30 Nov 2014, 20:49:22 (10 years ago)
Author:
Henrik Bettermann
Message:

The term 'application' should really not be used in Python-based portal software.

Replace 'application' by 'contract': batch 1

File:
1 edited

Legend:

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

    r12094 r12097  
    2727from waeup.ikoba.interfaces import (
    2828    ICompany, IQueryResultItem)
    29 from waeup.ikoba.customers.interfaces import ICustomer, IApplication
     29from waeup.ikoba.customers.interfaces import ICustomer, IContract
    3030
    3131
     
    119119
    120120
    121 # Catalog for customer applications
     121# Catalog for customer contracts
    122122
    123 class ApplicationIndexes(grok.Indexes):
    124     """A catalog for all applications.
     123class ContractIndexes(grok.Indexes):
     124    """A catalog for all contracts.
    125125    """
    126126    grok.site(ICompany)
    127     grok.name('applications_catalog')
    128     grok.context(IApplication)
     127    grok.name('contracts_catalog')
     128    grok.context(IContract)
    129129
    130     application_id = grok.index.Field(attribute='application_id')
     130    contract_id = grok.index.Field(attribute='contract_id')
    131131    last_product_id = grok.index.Field(attribute='last_product_id')
    132     application_category = grok.index.Field(attribute='application_category')
     132    contract_category = grok.index.Field(attribute='contract_category')
Note: See TracChangeset for help on using the changeset viewer.