I think the problem is here: field.represent = lambda .... rep=field.represent: ... rep(id) ....
Do you have a field represent to start with? Looks like you do not. Even when you do should be rep(id,r) not rep(id). On Oct 3, 2:34 pm, David Marko <[email protected]> wrote: > I'm using common one-to-many scenario with company and emplees. I'm using > format in table definitions but I cant see company name in exploee list in > web2py db admin and smartgrid gives me this .... > > field.represent = lambda id,r=None,referee=referee,rep=field.represent: > A(rep(id),_class=trap(),_href=URL(args=request.args[:args]+['view',referee, > id], user_signature=user_signature)) > TypeError: 'NoneType' object is not callable > > What I'm doing wrong or is it something broken? I'm using lates trunk version > ...

