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.
Создайте аккаунт сегодня, чтобы получить доступ к эксклюзивным функциям и стать частью нашего замечательного сообщества!
Регистрация
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.