Thanks Alan, This works fine. I just misunderstood the book. ;)
Have a good day, David On 15 October 2012 01:47, Alan Etkin <[email protected]> wrote: > For me the behavior is the expected (because the form was accepted and the > record deleted). Perhaps you can avoid executing onaccept inside the > handler like this: > > def myonaccept(form): > if form.vars.delete_this_record > return > ... > > > > > -- > > > > --

