Mind that _after insert take id, and a Row object:

db.invoice._after_insert.append(lambda row,id: 
function_updating_transactions(id))

On Friday, 20 December 2013 08:25:09 UTC-6, Johann Spies wrote:
>
> Thanks Niphlod!
>
> Would something like this do the trick?
>
> db.invoice._after_insert.append(lambda id: 
> function_updating_transactions(id))
>
> Regards
> Johann
> -- 
> Because experiencing your loyal love is better than life itself, 
> my lips will praise you.  (Psalm 63:3)
>  

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to