- Timestamp:
- 30 Nov 2014, 08:12:27 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/catalog.py
r12006 r12094 27 27 from waeup.ikoba.interfaces import ( 28 28 ICompany, IQueryResultItem) 29 from waeup.ikoba.customers.interfaces import ICustomer 29 from waeup.ikoba.customers.interfaces import ICustomer, IApplication 30 30 31 31 … … 117 117 cat_name = 'customers_catalog' 118 118 defaults = dict(customer_id=None) # make sure we get all studs by default 119 120 121 # Catalog for customer applications 122 123 class ApplicationIndexes(grok.Indexes): 124 """A catalog for all applications. 125 """ 126 grok.site(ICompany) 127 grok.name('applications_catalog') 128 grok.context(IApplication) 129 130 application_id = grok.index.Field(attribute='application_id') 131 last_product_id = grok.index.Field(attribute='last_product_id') 132 application_category = grok.index.Field(attribute='application_category')
Note: See TracChangeset for help on using the changeset viewer.