Is this correct:
'classroom_type': fields.selection('IT', 'ELP','BE'),
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Is this correct:
'classroom_type': fields.selection('IT', 'ELP','BE'),
Hi,
You need to write like this:
'classroom_type' : fields.selection([
('it', 'IT'),
('elp','ELP'),
('be','BE')],'Type')
You can also refer Selection Field here.
Thanks,
www.acespritech.com
This works, thanks
Please close this question if the answer is correct. Thanks many.