there is no *"isavailable"* 

Yes there is.  Did you paste the wrong result?   'isavailable' is True in 
the second result set too.

-Jim


On Friday, July 21, 2017 at 9:46:26 AM UTC-5, Ramos wrote:
>
> There is no traceback. the record is returned like this  if i remove  
> session=current.session
>
> <Row {'completion': '0', 'help': 'This document is still in Draft.\r\nYou 
> should send it to Approval', 'workflow': 4L, 'workflow_comment': <Set 
> (workflow_comment.step = 8)>, 'titleenter': 'Review', 'title': 'Draft', 
> 'titleaction': 'Draft', 'entities_extra': <Set (entities_extra.status = 
> 8)>, 'entities': <Set (entities.status = 8)>, 'rgb': '#00c0ef', 'rules': 
> <Set (rules.step = 8)>, 'details': 'Person', 'id': 8L,* 'isavailable': 
> True*, 'icon': 'fa-user', 'button': 'btn-info btn-xs', 'color': 
> 'bg-blue'}>
>
> but if i have 
> session=current.session inside the  *status_Draft*  function  i get this 
> result 
>
>
> <Row {'completion': '0', 'help': 'This document is still in Draft.\r\nYou 
> should send it to Approval', 'workflow': 4L, 'workflow_comment': <Set 
> (workflow_comment.step = 8)>, 'titleenter': 'Review', 'title': 'Draft', 
> 'titleaction': 'Draft', 'entities_extra': <Set (entities_extra.status = 
> 8)>, 'entities': <Set (entities.status = 8)>, 'rgb': '#00c0ef', 'rules': 
> <Set (rules.step = 8)>, 'details': 'Person', 'id': 8L, 'isavailable': True, 
> 'icon': 'fa-user', 'button': 'btn-info btn-xs', 'color': 'bg-blue'}>
>
> there is no *"isavailable"* 
>
> 2017-07-21 14:44 GMT+01:00 Anthony <abas...@gmail.com <javascript:>>:
>
>> What is the traceback?
>>
>> --
>> 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+un...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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