A Dimarts, 16 d'abril de 2013 17:33:37, Cédric Krier va escriure:
> On 16/04/13 08:25 -0700, Jesús Martín Jiménez wrote:
> > Is there any way in Tryton to chaining browse on domain like in OpenERP?
> 
> Quite funny as I wrote this feature in OpenERP :-)
> 
> > For example, if I wanted to filter by the value of a many2one field, I'll
> > do it this way:
> > 
> > domain = [('field_id.name', '=', 'value')]
> 
> So yes, you can do it for M2O and also for M2M, O2M, O2O
> and Reference (only 1 level)

You mean 1 level only for Reference fields, don't you? I thought at least M2O 
allows any number of levels.

> 
> PS: except that in Tryton there is no "*_id" ;-)

-- 
Albert Cervera i Areny
http://www.NaN-tic.com
Tel: +34 93 553 18 03

http://twitter.com/albertnan 
http://www.nan-tic.com/blog

Reply via email to