Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
4346 Ansichten

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
Verwerfen
Autor Beste Antwort

looks like it's not possible in this way 

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
2
Juni 16
14694
3
Apr. 25
2018
2
Jan. 25
3131
0
Okt. 23
1500
1
Dez. 24
2280