Hello guys,
Let me give you some example
E.g :
state = fields.Selection([
('1', '1 Years'),
('2', '2 Years'),
('3', '3 Years'),
('4', '4 Years'),
('5', '5 Years'),
('6', '6 Years')],
string='Period'')
there is 2 boolean e.g : bool_assosiate and bool_professional
if bool_associate :
hide 2 - 4 - 6 Years
if bool_professional :
hide 1 - 3 - 5 years
it will hidden based on that condition in xml view
Thank you,
Best Regards,
Chaanto
Do you want to hide it in statusbar?