Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
4565 Vues

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
Ignorer
Auteur Meilleure réponse

looks like it's not possible in this way 

Avatar
Ignorer
Publications associées Réponses Vues Activité
2
juin 16
15006
3
avr. 25
2424
2
janv. 25
3552
0
oct. 23
1780
1
déc. 24
2691