How to Add a New Option in Existing Selection Field in Odoo 16 | Odoo 16 Development Tutorials – CBMS Odoo ERP

How to Add a New Option in Existing Selection Field in Odoo 16 | Odoo 16 Development Tutorials – CBMS Odoo ERP

0 minutes, 41 seconds Read

In Odoo 16, you can add a new option to an existing selection field by modifying the field’s definition. A selection field is a field that allows the user to choose from a list of predefined options.
#odoodevelopment #odoo16

1.To add a new option to an existing selection field, follow these steps,

2.Go to the model that contains the selection field you want to modify.

3.Find the field in the model’s fields definition.

Add the new option to the field’s selection list.
To add a new option, you simply need to add a new tuple to the “selection” list. The first element of the tuple is the option’s value, and the second element is the option’s label. #odootutorials

Connect With Us:
—————————————
➡️ Website:
➡️ Email: info@cybrosys.com
➡️ Twitter:
➡️ LinkedIn:
➡️ Facebook:
➡️ Instagram:
➡️ Pinterest:

#Add #Option #Existing #Selection #Field #Odoo #Odoo #Development #Tutorials

Similar Posts

Leave a Reply

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