[FIX] mrp: remove top button to block workcenters on kanban

These buttons are already present at the bottom of the card.
This commit is contained in:
Jaykishan Solanki
2017-09-26 19:56:30 -07:00
committed by Joren Van Onder
parent 75780c1b18
commit 9345463582
-11
View File
@@ -146,17 +146,6 @@
<div style="width: 400px;" t-attf-class="#{kanban_color(record.color.raw_value)}">
<div t-attf-class="o_kanban_card_header o_kanban_record_top">
<div class="o_kanban_record_headings o_kanban_card_header_title">
<span name="wc_stages" class="pull-left">
<a name="%(act_mrp_block_workcenter)d" type="action" class="o_status"
title="No workorder currently in progress. Click to mark work center as blocked."
attrs="{'invisible': [('working_state','in',('blocked','done'))]}"/>
<a name="unblock" type="object" class=" o_status o_status_red"
title="Workcenter blocked, click to unblock."
attrs="{'invisible': [('working_state','in',('normal','done'))]}"/>
<a name="%(act_mrp_block_workcenter)d" type="action" class="o_status o_status_green"
title="Work orders in progress. Click to block work center."
attrs="{'invisible': [('working_state','in',('normal','blocked'))]}"/>
</span>
<span class="o_primary ml8" style="display: inline-block">
<field name="name"/>
</span>