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:
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.
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-se
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.