Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
4360 Переглядів

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 

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
2
черв. 16
14709
3
квіт. 25
2054
2
січ. 25
3163
0
жовт. 23
1513
1
груд. 24
2334