Fields and widgets

Estimated reading: 2 minutes 232 views

Odoo Studio fields and widgets let you add data to a model and control how that data looks and behaves on screen, without writing code. Fields act like the columns of a spreadsheet, storing data in each record, while a widget controls how a field is displayed, such as a progress bar or a toggle switch.

How to add a new field in Studio

  1. Open Studio from the icon in the top right of the screen.
  2. Switch to a Form or List view, the only views new fields can be added from.
  3. Drag the desired field type from the sidebar into the view.
  4. Configure the field’s label, widget (for example, a progress bar for a number field), and any visibility or access restrictions.
  5. Save and exit Studio.

How to add a date range field

  1. Create two Date or Datetime fields for the start and end.
  2. Add another Datetime field and set its widget to Date Range.
  3. Link the start and end fields using the dropdowns provided, and tick Always Range if both dates should be required.

Tips

  • Use conditional visibility to show a field only when relevant.
  • Use default values and placeholders to guide users filling in the form.
  • Use a Related Field widget to display information from a linked model without creating a new relationship.
  • Disable creation or opening on a Many2One or Many2Many field to control what users can do with linked records.

Frequently asked questions

How many field types does Studio offer?

Odoo has 15 field types from a technical point of view, but Studio offers 20 choices because some field types appear more than once with a different default widget.

Can I only add fields to certain views?

Yes, new fields can only be added from the Form or List views; existing fields can be added to other views.

Need help?

Need help adding fields or widgets in Odoo Studio? Contact support@thoughtlogik.com or see our Odoo implementation services.

Leave a Reply

Your email address will not be published. Required fields are marked *

Learn how we helped 100 top brands gain success

Subscribe

×
Cancel