I meanaged to add fileds, but insted of being the fileds of referenced 
table they were added to auth_user table all of them of type integer

I want them to be read from table organization

code in db.py

auth.settings.extra_fields['auth_user']= [
                Field('o_name','reference organization',label = T('Org 
name'),),
                Field('o_telnumber','reference organization'),
                Field('o_street','reference organization'),
                Field('o_city','reference organization'),
                Field('o_state','reference organization'),
                Field('o_country','reference organization'),
                Field('o_TaxNumber','reference organization'),
                Field('o_note','reference organization'),
                ]

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

Reply via email to