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 :)
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
|
2
ก.ค. 25
|
4636 | ||
|
2
ธ.ค. 24
|
7779 | ||
How to ORDER BY? [Odoo 10]
แก้ไขแล้ว
|
|
2
พ.ย. 24
|
28550 | |
|
2
พ.ค. 24
|
7487 | ||
|
3
มี.ค. 24
|
6919 |
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