El 19/05/15 a les 13:31, Simon Klemenc ha escrit:
The fields instance have a domain attribute: http://doc.tryton.org/3.6/trytond/doc/ref/models/fields.html#domain <http://doc.tryton.org/3.6/trytond/doc/ref/models/fields.html#domain>actually it seems this only checks on save, but what i want to achieve is to simply hide certain records. Basically the same that happens with records being "active == False", but on a different field ( like "is_primary_address")
It seems you are searching for filter on xxx2many fields [1] which is currently not implemented
By the way, there is a workarround, which consists on creating a functional field that returns the values filtered
[1] https://bugs.tryton.org/issue4005 -- Sergi Almacellas Abellana www.koolpi.com Twitter: @pokoli_srk
