[FIX] stock : Prevent drag and drop from Inventory dashboard

In this commit,
-The behaviour of drag and drop is blocked when grouping the
 operation type and warehouse on inventory dashboard.

closes odoo/odoo#43229

Task-id: 2167610
X-original-commit: 5e8bcd3a5bfff9a5dc740287605d4ff661a701f7
Related: odoo/enterprise#7689
Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
This commit is contained in:
Simran Gajsinghani
2020-01-13 15:59:25 +00:00
committed by Simon Lejeune
parent d188b4b017
commit 6b2bfdd8b9
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -20,7 +20,7 @@
<field name="name"/>
</a>
<span class="o_primary" t-if="selection_mode"><field name="name"/></span>
<div class="o_secondary"><field class="o_secondary" name="warehouse_id"/></div>
<div class="o_secondary"><field class="o_secondary" name="warehouse_id" readonly="1"/></div>
</div>
<div class="o_kanban_manage_button_section" t-if="!selection_mode">
<a class="o_kanban_manage_toggle_button" href="#"><i class="fa fa-ellipsis-v" role="img" aria-label="Manage" title="Manage"/></a>
+2 -2
View File
@@ -619,7 +619,7 @@
<field name="arch" type="xml">
<kanban class="oe_background_grey o_kanban_dashboard o_emphasize_colors o_stock_kanban" create="0">
<field name="color"/>
<field name="code"/>
<field name="code" readonly="1"/>
<field name="count_picking_ready"/>
<field name="count_picking_draft"/>
<field name="count_picking_waiting"/>
@@ -639,7 +639,7 @@
<div class="o_primary" t-if="selection_mode">
<field name="name"/>
</div>
<div class="o_secondary"><field class="o_secondary" name="warehouse_id"/></div>
<div class="o_secondary"><field class="o_secondary" name="warehouse_id" readonly="1"/></div>
</div>
<div class="o_kanban_manage_button_section" t-if="!selection_mode">
<a class="o_kanban_manage_toggle_button" href="#"><i class="fa fa-ellipsis-v" role="img" aria-label="Manage" title="Manage"/></a>