Skip to content
Snippets Groups Projects
Commit df894736 authored by Siddharth Gajjar's avatar Siddharth Gajjar Committed by Pierre Masereel
Browse files

[IMP] mrp: change OEE color depending on the target of workcenter

parent 47b376e6
No related branches found
No related tags found
No related merge requests found
......@@ -208,8 +208,10 @@
</a>
</div>
<div class="col-xs-6 text-right">
<span t-att-class="record.oee_target.value and (record.oee.value &lt; record.oee_target.value) and 'label label-danger' or None">
<field name="oee"/>%
<span t-att-class="record.oee_target.raw_value and (record.oee.raw_value &lt; record.oee_target.raw_value) and 'text-danger' or (record.oee.raw_value &gt; record.oee_target.raw_value) and 'text-success' or 'text-warning'">
<strong>
<field name="oee"/>%
</strong>
</span>
</div>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment