I think you might have to dereference r. Something like r[0].odo since queries return a set even if there's only one element.
- [web2py] Doing a select in a Virtual Field Tom Coetser
- [web2py] Doing a select in a Virtual Field pbreit
I think you might have to dereference r. Something like r[0].odo since queries return a set even if there's only one element.