I try, I was really confuse it didn't work.

I will try again next week.

It is under w2p 1.83.2

Richard

On Fri, Oct 8, 2010 at 4:55 PM, mdipierro <[email protected]> wrote:

> before the db.read add
>
> db.ref_eregistry.report_name.readable=True
>
> On Oct 8, 2:55 pm, Richard Vézina <[email protected]> wrote:
> > Hello,
> >
> > How can I make a computed field appear in a crude.read?
> >
> > For example :
> >
> > db.ref_eregistry.report_name.compute=lambda r:
> > r['report_date'].strftime("%Y%m%d")+r['report_author']+r['report_num']
> >
> > But if I do
> >
> > crud.read(db.ref_eregistry,1)
> >
> > I will have all the other field except the compute field.
> >
> > Thanks
> >
> > Richard
>

Reply via email to