odoo technical video
Video Tutorial

Add a New Option in Existing Selection Field in Odoo 16

MAR 29,2023

Description:

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.

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.

odoo videos odoo development odoo tutorial

whatsapp_icon
location

Calicut

Cybrosys Technologies Pvt. Ltd.
Neospace, Kinfra Techno Park
Kakkancherry, Calicut
Kerala, India - 673635

location

Kochi

Cybrosys Technologies Pvt. Ltd.
1st Floor, Thapasya Building,
Infopark, Kakkanad,
Kochi, India - 682030.

location

Bangalore

Cybrosys Techno Solutions
The Estate, 8th Floor,
Dickenson Road,
Bangalore, India - 560042

Send Us A Message