Thanks.

That's pretty close to what I was using, but I didn't have the syntax
just right.

Cliff Kachinske

On Dec 22, 6:06 pm, Adi <adnan.smajlo...@gmail.com> wrote:
> this is what i'm doing:
>
> in a smartgrid use oncreate = dict(purchase_order=[po_oncreation]),
>
> that takes you to your function after record is created, where you know the
> id. The argument you use is form.
>
> def po_oncreation(form):
>     auth.archive
>     last_id = form1.vars.id
>     ...

Reply via email to