Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3432 Vistas

how i can create a combo field ? thanks.

Avatar
Descartar
Mejor respuesta

I think you should use fields.selection

 'state': fields.selection([('done','Done'),('skipped','Skipped'),], 'State', size=24, help='The test will be completed only if the module is installed or if the test may be processed on uninstalled module.'),
Avatar
Descartar