Hum, actually, it's not working as I thought... I thought there was an value for the ondelete option that would force web2py to delete the reference when the referenced object is deleted, but not to delete de referencing object... from what I just read in the book, there isn't :(
Anyway, the DATE error ... Where should it come from ?