İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
4275 Görünümler

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


Avatar
Vazgeç
Üretici En İyi Yanıt

looks like it's not possible in this way 

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Haz 16
14632
3
Nis 25
1861
2
Oca 25
2958
0
Eki 23
1372
1
Ara 24
2178