how about:
db.t_status.f_name.represent=lambda f_name: T(f_name)
Didn't do anything. Where should I put the row? I tried putting it
before and after this line in controller:
db.t_ticket.f_status.requires =
IS_EMPTY_OR(IS_IN_DB(db(db.t_status.f_company == company_id),
't_status.id', '%(f_status)s / %(f_name)s'))
Kenneth
On Jul 15, 9:27 pm, Kenneth Lundström kenneth.t.lundst...@gmail.com
wrote:
I have a requires with IS_IN_DB like this:
IS_IN_DB(db(db.t_status.id 0), 't_status.id', '%(f_status)s / %(f_name)s')
I d like to translate the f_name with T(). Is it possible?
Kenneth