Enable Dark Mode!
everything-you-need-to-know-about-kanban-widgets-in-odoo-19.jpg
By: Najiya Rafi

Everything You Need to Know About Kanban Widgets in Odoo 19

Technical Odoo 19 Fields and widgets

Kanban views in Odoo make it easy to track and manage workflows at a glance. They visually organize records into clear stages, helping teams understand progress without digging into detailed reports. However, Kanban boards become even more powerful when they are enhanced with Kanban Widgets.

Kanban widgets make your cards more lovely and interesting by introducing interactive elements, visual indicators, and meaningful highlights directly on each record. Instead of just displaying static information, widgets allow users to interact with data instantly—making Kanban views more intuitive and efficient.

In this blog, we will discuss what Kanban widgets are, how Kanban widgets are different from standard Kanban views in Kanban systems, and how Kanban widgets can be employed in Odoo to design more interactive and engaging interfaces.

Kanban View vs. Kanban Widget

However, before we dive in, we should note the difference between "the view" and "the widget":

  • Kanban View: The container or "board" on which records are laid out through columns (e.g., "Draft", "In Progress", "Done"). The Kanban View represents the full view type offered by Odoo, similar to the form views, tree views, calendar views, among others.
  • Kanban Widget: It is a specific UI component used for displaying a single field value inside a card. For instance, a selection field turned into clickable stars (Priority) or a user dropdown turned into an avatar.

Essential Kanban Widgets in Odoo 19

Here is a list of the most commonly used widgets available for Kanban views in Odoo 19, along with examples from our demo module.

1. Priority Widget (widget="priority")

  • Use Case: Displaying a rating or importance level (e.g., Low, Medium, High).
  • Visual: Clickable stars.

Code Example:

<field name="priority" widget="priority"/>
Everything You Need to Know About Kanban Widgets in Odoo 19-cybrosys

2. User Avatar (widget="many2one_avatar_user")

  • Use Case: Showing the assigned user's profile picture.
  • Visual: A circular avatar image.

Code Example:

<field name="user_id" widget="many2one_avatar_user"/>
Everything You Need to Know About Kanban Widgets in Odoo 19-cybrosys

3. Activity Widget (widget="kanban_activity")

  • Use Case: Managing scheduled activities (calls, meetings, emails) directly from the card.
  • Visual: A clock icon that changes color based on due date (Green=Future, Yellow=Today, Red=Overdue).

Code Example:

<field name="activity_ids" widget="kanban_activity"/>
Everything You Need to Know About Kanban Widgets in Odoo 19-cybrosys

4. Many2Many Tags (widget="many2many_tags")

  • Use Case: Displaying categories or labels associated with the record.
  • Visual: Colored pills.

Code Example:

<field name="tag_ids" widget="many2many_tags" options="{'color_field': 'color'}"/>
Everything You Need to Know About Kanban Widgets in Odoo 19-cybrosys

5. Color Picker (widget="color_picker")

  • Use Case: Allowing users to change the background color of the card.
  • Visual: A palette of colors in the dropdown menu.

Code Example:

<field name="color" widget="color_picker"/>
Everything You Need to Know About Kanban Widgets in Odoo 19-cybrosys

6. Progress Bar (widget="progressbar")

  • Use Case: Visualizing a numeric value as a completion percentage.
  • Visual: A horizontal bar filled based on the value.

Code Example:

<field name="progress" widget="progressbar"/>
Everything You Need to Know About Kanban Widgets in Odoo 19-cybrosys

Other Available Widgets

Although the above-mentioned are the most used in the Kanban cards, there are many others that you may use according to the type of information you have in the Odoo system:

  • boolean_toggle: Toggle switch for boolean fields.
  • image: Presents a binary field as an image.
  • monetary: Formats numbers as currency.
  • handle: Drag handle for ordering records by hand (used in list views and in some other situations).
  • statinfo: Used in “Smart Buttons.”

The widgets can transform a basic Kanban board interface into an engaging and interactive work environment. Including "widget=." in your Kanban XML fields can thus increase the efficiency and effectiveness of data visualization and handling in your records by a tremendous degree, just by making a minor modification in your interface design.

To read more about Everything You Need to Know About Char Widgets in Odoo, refer to our blog Everything You Need to Know About Char Widgets in Odoo.


Frequently Asked Questions

Do Kanban widgets change how data is stored in Odoo?

No. Kanban widgets only affect how data is displayed and interacted with in the user interface. The underlying data model and database structure remain unchanged.

Can I use multiple widgets on the same Kanban card?

Yes. A single Kanban card can contain multiple widgets, such as a priority widget, user avatar, tags, and activity widget. Combining widgets helps present more context without opening the form view.

Are Kanban widgets configurable?

Some widgets support additional configuration through XML options. For example, the many2many_tags widget can display colors, and the progressbar widget can be customized based on field values. However, not all widgets offer extended customization out of the box.

What is the best practice for using Kanban widgets?

Use widgets to highlight key information and actions—such as priority, assigned user, and upcoming activities. Keep the layout clean, consistent, and focused on improving user efficiency.

If you need any assistance in odoo, we are online, please chat with us.



0
Comments



Leave a comment



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