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

Hi, i m looking to generate radio button from a many2many field in a web view (website_sale.product)


my field : line_ids = fields.Many2many('configurateur_product.line')


my field in the view : <span t-field="p_variant.line_ids" t-field-options='{"widget":"many2many_checkboxes"}' />

ive try this one to : <span t-field="p_variant.line_ids" t-field-options='{"widget":"radio"}' />


the result : configurateur_product.line(1, 2, 3).


thanks for answering


Martin


頭像
捨棄
作者 最佳答案

looks like it's not possible in this way 

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
6月 16
14693
3
4月 25
2014
2
1月 25
3131
0
10月 23
1498
1
12月 24
2274