Ignore:
Timestamp:
2 Nov 2013, 08:18:00 (11 years ago)
Author:
Henrik Bettermann
Message:

hostel_id must not be readonly. Otherwise updateEntry doesn't work in update mode.

File:
1 edited

Legend:

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

    r9701 r10683  
    187187    grok.name('addhostel')
    188188    #grok.template('hosteladdpage')
    189     form_fields = grok.AutoFields(IHostel).omit('beds_reserved')
     189    form_fields = grok.AutoFields(IHostel).omit('beds_reserved', 'hostel_id')
    190190    label = _('Add hostel')
    191191    pnav = 5
Note: See TracChangeset for help on using the changeset viewer.