I have resolved the problem by creating VirtualField and this is part of 
previous source:

query = ...
records = db(query).select(..., 
db.auth_user.first_name, db.auth_user.last_name,
                          
 join=[..., db.auth_user.on(db.auth_user.id==...)])
for i, r in enumerate(records):
    records[i].auth_user.user = '{0} {1}'.format(r.auth_user.first_name, 
r.auth_user.last_name)
result = SQLTABLE(records,
                  columns=[..., 'auth_user.user'],
                  headers={..., 'auth_user.user': T(...)})
return result

This code was working with version 1.99.7., but with 2.0.5 it fails. By the 
way, thank you for this great framework. I have a little practice with Zope 
2 but now I am using only web2py for all new projects.

-- 



Reply via email to