Ignore:
Timestamp:
10 Nov 2011, 18:56:18 (13 years ago)
Author:
Henrik Bettermann
Message:

Much more logic for bed allocation, bed release.

Implement student relocation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/hostels/interfaces.py

    r6996 r7068  
    55from waeup.sirp.interfaces import IWAeUPObject
    66from waeup.sirp.hostels.vocabularies import (
    7     bed_letters, blocks, special_handling)
     7    bed_letters, blocks, special_handling, StudentSource)
    88
    99class IHostelsContainer(IWAeUPObject):
     
    172172        default = u'',
    173173        )
     174
     175
     176
     177class IBedAllocateStudent(IBed):
     178    """A representation of beds for allocation form only.
     179
     180    """
     181
     182    owner = schema.Choice(
     183        title = u'Owner (Student)',
     184        source = StudentSource(),
     185        default = None,
     186        required = True,
     187        )
Note: See TracChangeset for help on using the changeset viewer.