Changeset 3044


Ignore:
Timestamp:
24 Jan 2008, 21:42:05 (17 years ago)
Author:
Henrik Bettermann
Message:

release_bed must also fill 'not_occupied'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_accommodation/release_bed.py

    r1566 r3044  
    4242        redirect("%s/%s" % (students.absolute_url(),student_id))
    4343    allocated_bed = res[0]
    44     acco_cat.modifyRecord(bed=allocated_bed.bed,student='')
     44    acco_cat.modifyRecord(bed=allocated_bed.bed,student=acco_cat.not_occupied)
    4545    acco_doc = context.getContent()
    4646    acco_doc.edit(mapping={'bed':"-- cancelled by section officer --"})
Note: See TracChangeset for help on using the changeset viewer.