[FIX] mrp_workorder: fix status badge on kanban card
The status badge on workorder kanban card was hidden behind a dropdown widget because of a wrongly used class. X-original-commit: 491546a5c3ce6203763a7d829b44107e66ff3f42 Part-of: odoo/odoo#102398
This commit is contained in:
@@ -420,7 +420,7 @@
|
||||
<div class="o_kanban_workorder_date">
|
||||
<h5><span class="d-flex" t-esc="record.date_planned_start.value or record.production_date.value"/></h5>
|
||||
</div>
|
||||
<div class="o_kanban_manage_button_section">
|
||||
<div>
|
||||
<h2 class="ml8">
|
||||
<span t-attf-class="badge #{['progress'].indexOf(record.state.raw_value) > -1 ? 'text-bg-warning' : ['ready', 'waiting', 'pending'].indexOf(record.state.raw_value) > -1 ? 'text-bg-primary' : ['done'].indexOf(record.state.raw_value) > -1 ? 'text-bg-success' : 'text-bg-danger'}">
|
||||
<t t-out="record.state.value"/>
|
||||
|
||||
Reference in New Issue
Block a user