跳至內容
選單
此問題已被標幟
1 回覆
3433 瀏覽次數

how i can create a combo field ? thanks.

頭像
捨棄
最佳答案

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.'),
頭像
捨棄