Changeset 12801 for main/ikobacustom.pcn


Ignore:
Timestamp:
20 Mar 2015, 13:32:14 (10 years ago)
Author:
Henrik Bettermann
Message:

Add referees List field (for demonstration purposes only).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/customers/interfaces.py

    r12798 r12801  
    325325        )
    326326
     327    referees = schema.List(
     328        title = _(u'Referees'),
     329        value_type = schema.Choice(
     330            source=RefereeSourceFactory(),
     331            required = True,
     332            ),
     333        description = u'Add at least two referees from the PCN database.',
     334        required = False,
     335        readonly = False,
     336        default = [],
     337        )
     338
    327339    referee1_name = schema.TextLine(
    328340        title = _(u'First Referee Name'),
     
    446458        )
    447459
     460    referees = schema.List(
     461        title = _(u'Referees'),
     462        value_type = schema.Choice(
     463            source=RefereeSourceFactory(),
     464            required = True,
     465            ),
     466        description = u'Add at least two referees from the PCN database.',
     467        required = False,
     468        readonly = False,
     469        default = [],
     470        )
     471
    448472    referee1_name = schema.TextLine(
    449473        title = _(u'First Referee Name'),
Note: See TracChangeset for help on using the changeset viewer.