db.tablename.fieldname.writable=False
db.tablename.fieldname.readable=False

before you create a form

On Tue, Aug 20, 2013 at 11:43 PM, Alex <mrauc...@gmail.com> wrote:
> I'm using SQLFORM.factory to create a form for two tables:
> form = SQLFORM.factory(db.invoice, db.individual_invoice,
> table_name='individual_invoice')
>
> now I need to exclude one field from invoice table in case the invoice
> already exists, this field should not be updated once the invoice is
> created.
> Any ideas how to do this?
>
> Alex
>
> --
>
> ---
> 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 web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 

--- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to