Dear all,
The question is that I have a compute value defined on my model this
way:
Field('n_lote', compute = lambda r: str(r['fecha']).replace("-", "") +
str(r['cliente_id']), required = True)
When I try to make a form from my controller to read the record on the
database table, like this:
form = crud.read(db.entradas, request.args(0))
The form is created, but, and here it comes the problem, the compute
field n_lote is not shown. Why is that? How can I make CRUD to show it
on the form?
thanks a lot for all your help and kind regards,
Bernardo