Anyone? All ideas gratefully accepted.
On Dec 21, 11:55 pm, Cliff <[email protected]> wrote: > Smartgrid is great when you have linked tables. > > But I know I'm going to get some user push back on adding records with > linked tables. > > After adding a record, they like to go right back and edit the record > to add child records. For example, if a user creates a purchase order > header, he wants to go right back to edit the P.O. and add products. > He does not want to go back to the list of P.O.s, search for the one > he just created and then click edit. > > Unfortunately, smartgrid forces the user to do exactly what he does > not want to do because it shows the index list of records after a > successful create. > > How can I make my users happy by directing them to edit the record > they just created in smartgrid. > > It used to be simple, like this: > if form.process().accepted: > redirect(URL('edit')) > > Even in grid I can do this: > if form[1].process().accepted: > redirect... > > How do I emulate this behavior in smartgrid? > > Thanks, > Cliff Kachinske

