Ignore:
Timestamp:
25 Oct 2012, 09:44:02 (12 years ago)
Author:
Henrik Bettermann
Message:

Reorganize allocation of students to beds. We can't use the StudentSource? in live systems. The select box would be filled with ten thousands of students.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/hostels/browser.py

    r9217 r9414  
    3737from waeup.kofa.hostels.hostel import Hostel
    3838from waeup.kofa.hostels.interfaces import (
    39     IHostelsContainer, IHostel, IBed, IBedAllocateStudent)
     39    IHostelsContainer, IHostel, IBed)
    4040from waeup.kofa.widgets.datewidget import FriendlyDatetimeDisplayWidget
    4141
     
    350350    """ View to edit bed data
    351351    """
    352     grok.context(IBedAllocateStudent)
     352    grok.context(IBed)
    353353    grok.name('index')
    354354    grok.require('waeup.manageHostels')
    355     form_fields = grok.AutoFields(IBedAllocateStudent).omit(
     355    form_fields = grok.AutoFields(IBed).omit(
    356356        'bed_id', 'bed_number', 'bed_type')
    357357    label = _('Allocate student')
Note: See TracChangeset for help on using the changeset viewer.