Hi,

i want to show/hide some form elements depending on referenced field
attribute,
here the source:

<separator id="horometro" string="Horometro" colspan="4"
states="{'invisible':
Equal(Eval('maquina.tipo'),'camion')}"/>



i got

  maquina = fields.Many2One('ql_maquinaria.maquina','Maquina')



and class Maquina

 tipo = fields.Selection([('retroexcavadora','Retro Excavadora'),
('camion','Camion')],'Tipo', required=True, select=1)



of course what i did doesn't work.

is it possible to do want in want ??? how ?

thnx.




--
Felipe Alvarez Harnecker
[email protected] - 9.874.60.17

-- 
[email protected] mailing list

Reply via email to