Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3442 Zobrazení

how i can create a combo field ? thanks.

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit