Skip to Content
Menú
This question has been flagged
3 Respostes
309 Vistes

Hi,


in studio, how could we remove de default value of a field with widget type selection or radio button ?

Avatar
Descartar
Autor

Hi, thanks for your quick answer :)

unfortunatly i do not have the "X" (to remove) next to the default value. 


What default are you trying to remove? it might not be something that you can change in Studio but there may be other options.

Autor

I understand that i have de delete the value, not the fact to have the value as default.

then, i do not want to edit all my entries, what i did is create a field with a space and put this value as default.

i don't know why we cannot juste remove the default value and let it blank, not the value by itself in radio or selection. .

Best Answer

Hi,

Steps to Remove Default Value in Odoo Studio


    Open Studio:


        Click the "Studio" icon in the top right corner of the screen.


    Select the Field:


        Click on the selection or radio field you want to edit.


    Locate "Default Value":


        In the right-hand properties panel, find the "Default Value" section.


    Remove the Default:


        Clear the value shown.


        If there’s an "x" button, click it to remove the default.


        Or manually delete the text/value.


    Save and Exit:


        Close Studio and refresh the form view.


        The field should now appear without any pre-selected value.

       

Hope it helps

Avatar
Descartar
Best Answer

To remove the default value of a Selection or Radio button field in Odoo Studio, follow these steps:

  1. Open Odoo Studio and navigate to the model where the field is located.
  2. Click on the field (Selection or Radio button) you want to edit.
  3. In the right-side configuration panel, look for the "Default value" section.
  4. If a default value is set, you will see it listed there.
  5. Click the trash/bin icon next to the default value to remove it.
  6. Save your changes and exit Studio.

💡 Note: If the field still displays a default after removal, make sure there are no related automated actions or inherited views setting the value elsewhere.

Avatar
Descartar
Best Answer

Hii,

Enter Studio mode (click the wrench/gear icon in the top-right).

Go to the form view where the field is displayed.

Click on the field (the one using the "Selection" or "Radio" widget).

In the right-hand properties panel, scroll down to find the "Default value" section.

If a default value is set, you will see it listed there. Click the "×" (remove) icon next to the default value to clear it.

Save your changes and exit Studio.

Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
de jul. 21
94
2
de març 15
19286
1
de març 15
8205
0
de març 15
3237
2
de jul. 17
5013