Hi,
I have a selection fielld
my_field = fields.Selection([('foo', 'foooooooo'), ('bar', 'baaaaaaaar')], default='foo')
<field name="my_field" widget="radio" string=" "/>
My result is
But I need this
is this possible?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi,
I have a selection fielld
my_field = fields.Selection([('foo', 'foooooooo'), ('bar', 'baaaaaaaar')], default='foo')
<field name="my_field" widget="radio" string=" "/>
My result is
But I need this
is this possible?
Yes, Of course
this is possible.
Just do like this : <field name="gender" widget='radio' options="{'horizontal': true}"/>
Thank you, It is working Well :)
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
2
Des 24
|
6688 | ||
How to ORDER BY? [Odoo 10]
Diselesaikan
|
|
2
Nov 24
|
26944 | |
|
2
Mei 24
|
6475 | ||
|
3
Mar 24
|
5837 | ||
|
0
Mar 24
|
932 |
You can show one2many records in radio button by converting one2many into selection field: http://learnopenerp.blogspot.com/2020/05/show-one2many-field-records-as-radio-button-in-odoo-wizard.html