تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4341 أدوات العرض

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 

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
يونيو 16
14693
3
أبريل 25
2013
2
يناير 25
3129
0
أكتوبر 23
1497
1
ديسمبر 24
2272