Changeset 12357
- Timestamp:
- 1 Jan 2015, 08:29:24 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/ikobacustom.skeleton/trunk/src/ikobacustom/skeleton/customers/utils.py
r12355 r12357 20 20 21 21 from copy import deepcopy 22 from waeup.ikoba.customers.utils import CustomersUtils 22 from waeup.ikoba.customers.utils import ( 23 CustomersUtils, 24 STARTED, CREATED, REQUESTED, APPROVED, 25 SUBMITTED, VERIFIED, REJECTED, 26 EXPIRED) 23 27 from ikobacustom.skeleton.interfaces import MessageFactory as _ 24 28 … … 27 31 """ 28 32 33 #: A prefix used when generating new customer ids. Each customer id will 34 #: start with this string. The default is 'K'. 35 CUSTOMER_ID_PREFIX = u'K' 36 37 DOCMANAGE_CUSTOMER_STATES = (REQUESTED, APPROVED,) 38 39 DOCMANAGE_DOCUMENT_STATES = (CREATED,) 40 41 CONMANAGE_CUSTOMER_STATES = deepcopy(DOCMANAGE_CUSTOMER_STATES) 42 43 CONMANAGE_CONTRACT_STATES = (CREATED,) 29 44 30 45 DOCTYPES_DICT = { 31 'CustomerSampleDocument': _('Sample Document'),32 'CustomerPDFDocument': _('PDF Document'),46 #'CustomerSampleDocument': _('Sample Document'), 47 #'CustomerPDFDocument': _('PDF Document'), 33 48 34 49 'SkeletonCustomerDocument': _('Skeleton Document'), … … 36 51 37 52 CONTYPES_DICT = { 38 'SampleContract': _('Sample Contract'),53 #'SampleContract': _('Sample Contract'), 39 54 40 55 'SkeletonContract': _('Skeleton Contract'), … … 44 59 45 60 SELECTABLE_CONTYPES_DICT = deepcopy(CONTYPES_DICT) 61 62 EXPORTER_NAMES = ( 63 'customers', 64 'skeletoncustomerdocuments', 65 'skeletoncontracts')
Note: See TracChangeset for help on using the changeset viewer.