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

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
14495
2
5月 25
562
3
4月 25
1650
2
1月 25
2754
0
10月 23
1204