Odoo 14 introduces a new widget called badge widget. It is used to indicate the status of the sale order, purchase order, quotations, manufacture order in an attractive way.
2. Odoo 14 introduce a new widget called badge widget.
It is used to indicate the status of sale order, purchase order, quotations, manufacture
order in a attractive way.
We can see the badge widget in the list views of Odoo 14.
It is possible to set different colors for badge widget to improve readability.
3. Let’s have a look in to avatar widget.
○ Goto Sales - > Orders -> Quotations
6. You can set the colour for the badge by setting suitable decorators.
Example code.
<field name="state" widget="badge" decoration-success="state == 'posted'" decoration-
info="state == 'draft'" optional="show"/>
7. For More
Details
Check our company website for related blogs and Odoo
book.
Odoo 14 book
Check our YouTube channel for functional and technical
videos in Odoo.
Odoo 14 Badge widget