[web2py] Logical Delete instead of true delete of a record using crud.update

2010-11-05 Thread ggivler
Sorry if this is a repeat, but I have not seen my original post. I have a situation where I would like to use the crud.update with the delete checkbox, I am using the ondelete callback to set other record to invalid, however after the ondelete function completes the underlying record is deleted. Is

[web2py] Logical Delete instead of true delete of a record using crud.update

2010-11-04 Thread ggivler
I have a crud.update form that is deletable, I use the ondelete callback function to mark the records as nonvalid, is there a way to keep the record from being deleted after this?