Chapter 6 - Odoo 15 Development Book

Widgets

There are different types of widgets in odoo. Each of them has different purposes. The widget makes the functionalities simpler and easier.

1. Many2many Checkboxes

For getting this effect, use the code widget="many2many_checkboxes"

Odoo Development Book

2. Status bar

Use this widget to display the status. Code is widget="statusbar".

Odoo Development Book

3. Percentpie

This widget will display the progress chart. Code is widget="percentpie

Odoo Development Book

4. Guage

This widget is also the same as of percentpie, but in the case of guage, you want to specify the maximum value in max_field.

For example:

<field name="lead_month_count" widget="gauge" options="{'max_field': 'assignment_max'}" attrs="{'invisible': [('assignment_max', '=', 0)]}"/>

5. Progressbar

By using this widget, you will get the progress. You can use the code widget="progressbar"

Odoo Development Book

6. Many2many Tags

It will display multiple items as tags. Code is widget="many2many_tags"

Odoo Development Book

7. Handle

By using this widget, you can drag the line up and down. You can use the code widget="handle"

Odoo Development Book

8. Many2many Binary

You can attach files by using this widget. Code is widget="many2many_binary"

Odoo Development Book

9. Selection

It displays a list of items by using the code widget="selection"

10. Radio

This widget is used to get the radio button effect. Code is widget="radio"

Odoo Development Book
whatsapp
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