Hello
i am trying to show a image field when a particular value is selected
test_name = fields.Selection([
('dft', 'DFT'),
('adhesion', 'Adhesion Test'),
('color', 'Color'),
('visual', 'Visual'),
], "Test Name")
image = fields.Binary('Image', states = {'invisible': Eval('test_name') != 'dft' or Eval('test_name') != 'adhesion' })
i tried the above code but it does not seems to work
any heads up where am i doing it wrong ?