- Timestamp:
- 30 Nov 2014, 20:49:22 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/catalog.py
r12094 r12097 27 27 from waeup.ikoba.interfaces import ( 28 28 ICompany, IQueryResultItem) 29 from waeup.ikoba.customers.interfaces import ICustomer, I Application29 from waeup.ikoba.customers.interfaces import ICustomer, IContract 30 30 31 31 … … 119 119 120 120 121 # Catalog for customer applications121 # Catalog for customer contracts 122 122 123 class ApplicationIndexes(grok.Indexes):124 """A catalog for all applications.123 class ContractIndexes(grok.Indexes): 124 """A catalog for all contracts. 125 125 """ 126 126 grok.site(ICompany) 127 grok.name(' applications_catalog')128 grok.context(I Application)127 grok.name('contracts_catalog') 128 grok.context(IContract) 129 129 130 application_id = grok.index.Field(attribute='application_id')130 contract_id = grok.index.Field(attribute='contract_id') 131 131 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.