can i make horizontal selection using widget="radio"?
i am using radio button widget but always end up vertical data selection , can i make my selection by horizontal view ?
thanks in advance
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
can i make horizontal selection using widget="radio"?
i am using radio button widget but always end up vertical data selection , can i make my selection by horizontal view ?
thanks in advance
Hi!.
You only have to add options parameter, as shown below.
<field name="address_type" widget='radio' options="{'horizontal': true}"/>
Btw, in my code y used address_type as a selection (fields.Selection)
See u later.
You can use groups tag
See example below.
<group string="Administration">
<field name="privacy_visibility" widget="radio"/>
</group>
<group string="Miscellaneous" name="misc">
</group>
Thanks,
it is not what i mean ,, if i use these code it's result will be a vertical radio button .. i just want it to be a horizontal radio button..
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
Wiget "radio" is impemented as table rows :(
An idea to show radio button for one2many field: http://learnopenerp.blogspot.com/2020/05/show-one2many-field-records-as-radio-button-in-odoo-wizard.html