Yes
this is my db.py for one of those views

db.define_table('shift',
                Field('sh_organisation' , 'reference organization', label =
T('Organization')),
                Field('sh_code', type= 'string', length = 256, label =
T('Code')),
                Field('sh_status', type= 'integer', label = T('Status'),
widget = SQLFORM.widgets.options.widget, default = 1),
                Field('sh_name', type= 'string', length = 256 ,label =
T('Name')),
                Field('sh_color', type= 'string',label = T('Color')), #
widget = color_widget,
                Field('sh_start1', type= 'time',length = 4, label =
T('Start'),requires = IS_NOT_EMPTY(error_message=T('Insert start
time')),represent=repr),
                Field('sh_end1', type= 'time', label =
T('End'),requires=IS_NOT_EMPTY(error_message=T('Insert end
time')),represent=repr),
                Field('sh_length1', type= 'integer', label = T('Length
1'),represent=repr),
                Field('sh_start2', type= 'time', label = T('Start
2'),represent=repr),
                Field('sh_end2', type= 'time', label = T('End 2'),
requires=IS_NOT_EMPTY(error_message=T('Insert second end time')) if
request.post_vars.sh_start2 else None,represent=repr),
                Field('sh_length2', type= 'integer', label = T('Length
2'),represent=repr),
                Field('sh_start3', type= 'time', label = T('Start 3')),
                Field('sh_end3', type= 'time',label = T('End ')),
                Field('sh_length3', type= 'integer', label = T('Length 3')),
                Field('sh_start4', type= 'time', label = T('Start 4')),
                Field('sh_end4', type= 'time',label = T('End 4')),
                Field('sh_length4', type= 'integer', label = T('Length 4')),
                Field('sh_start5', type= 'time', label = T('Start 5')),
                Field('sh_end5', type= 'time', label = T('End 5')),
                Field('sh_length5', type= 'time', label = T('Length 5')),
                Field('sh_duration', type= 'integer', label =
T('Duration')),
                Field('sh_duration1', type= 'integer', label =T('Duration
2')),
                Field('sh_note', type= 'text', label = T('Note')),
                migrate=settings.migrate
                )

2015-01-08 17:36 GMT+01:00 Alex Glaros <alexgla...@gmail.com>:

> not auth tables
>
> just in your specific table for the specific field that does not drop down
>
> --
> 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 a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/sjQoTm-XHgw/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Lep pozdrav

Vid Ogris

-- 
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/d/optout.

Reply via email to