Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
4331 Widoki

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


Awatar
Odrzuć
Autor Najlepsza odpowiedź

looks like it's not possible in this way 

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
cze 16
14692
3
kwi 25
2006
2
sty 25
3117
0
paź 23
1494
1
gru 24
2265