- Timestamp:
- 19 Dec 2014, 08:11:12 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/interfaces.py
r12258 r12260 23 23 from waeup.ikoba.interfaces import MessageFactory as _ 24 24 from waeup.ikoba.interfaces import ( 25 IIkobaObject, validate_email, ICSVExporter )25 IIkobaObject, validate_email, ICSVExporter, validate_uuid) 26 26 from waeup.ikoba.schema import TextLineChoice, FormattedDate, PhoneNumber 27 27 from waeup.ikoba.browser.interfaces import ICustomerNavigationBase … … 128 128 constraint=validate_email, 129 129 ) 130 130 131 phone = PhoneNumber( 131 132 title = _(u'Phone'), … … 243 244 is_editable_by_manager = Attribute('Document editable by manager') 244 245 245 246 class ICustomerPDFDocument(IDocument): 246 document_id = schema.TextLine( 247 title = _(u'Document Id'), 248 required = False, 249 constraint=validate_uuid, 250 ) 251 252 253 class ICustomerPDFDocument(ICustomerDocument): 247 254 """A customer document. 248 255 … … 282 289 title = _(u'Contract Id'), 283 290 required = False, 291 constraint=validate_uuid, 284 292 ) 285 293
Note: See TracChangeset for help on using the changeset viewer.