Odoo Help


Radio Button

Ajeng Shilvie
on 1/6/15, 6:16 AM 1,957 views

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

Wiget "radio" is impemented as table rows :(

on 1/6/15, 7:39 AM
Valentin Vega
On 2/14/17, 8:48 AM


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.

On 1/6/15, 6:27 AM

You can use groups tag

See example below.

   <group string="Administration">
       <field name="privacy_visibility" widget="radio"/>
   <group string="Miscellaneous" name="misc">



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..

Ajeng Shilvie
on 1/6/15, 6:56 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 1/6/15, 6:16 AM
Seen: 1957 times
Last updated: 2/14/17, 8:48 AM