On 2015-08-20 02:01, Pascal Obstetar wrote:
> Bonjour,
> 
> Il me semble qu'on ne peut pas utiliser l'attribut tree_invisible avec 
> PYSON ? Par exemple rendre invisible un attribut selon la valuer d'un autre 
> attribut ?

Non, comme expliqué dans la doc [1], c'est uniquement un boolean.
Ce que tu cherche c'est le states invisible [2].

[1]
http://doc.tryton.org/3.6/trytond/doc/topics/views/index.html?highlight=tree_invisible#id2
[2]
http://doc.tryton.org/3.6/trytond/doc/ref/models/fields.html?highlight=invisible#states

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Répondre à