跳至内容
菜单
此问题已终结
1 回复
4546 查看

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
14968
3
4月 25
2384
2
1月 25
3518
0
10月 23
1756
1
12月 24
2671