On Thu, Nov 24, 2016 at 6:37 PM, Nicolas Évrard <nicolas.evr...@b2ck.com> wrote:
> * Vincent Bastos [2016-11-24 01:38 +0100]: > >> How can I see what the maximum number of id's a One2Many field returns? >> > > Just specify size=… in the definition of the One2Many > > http://doc.tryton.org/4.0/trytond/doc/ref/models/fields.html > #trytond.model.fields.One2Many.size I thought that field was used to limit the number of records? I didn't want to limit the number of child records. I wanted to limit the number of id's returned in a model.x.read call. It's ok though, I am no longer using the one2many field to get some ids'. Cheers -- *Vincent Bastos* *Lava Lab Software* -- You received this message because you are subscribed to the Google Groups "tryton-dev" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton-dev/CACLX58Dr4kd1GUx2_h7RNZW_5SgDZf54D%3Dhprk75xcdn8EoKQQ%40mail.gmail.com.