[IMP] stock: clarify state badge colors

Colors are not clear enought, draft should be in grey.

Task-2428819

Part-of: odoo/odoo#74364
This commit is contained in:
Quentin Wolfs
2021-08-31 23:35:17 +00:00
committed by clesgow
parent 61d937f7d6
commit fd78d36fbe
+1 -1
View File
@@ -209,7 +209,7 @@
<field name="backorder_id" optional="hide"/>
<field name="picking_type_id" optional="hide"/>
<field name="company_id" groups="base.group_multi_company" optional="show"/>
<field name="state" optional="show" widget="badge" decoration-success="state == 'done'" decoration-info="state not in ('done', 'cancel')"/>
<field name="state" optional="show" widget="badge" decoration-success="state == 'done'" decoration-info="state not in ('done', 'cancel', 'draft')" decoration-muted="state == 'draft'"/>
<field name="activity_exception_decoration" widget="activity_exception"/>
<field name="json_popover" nolabel="1" widget="stock_rescheduling_popover" attrs="{'invisible': [('json_popover', '=', False)]}"/>
</tree>