From 364655473345e06bcd607a93b94b766ddac0df48 Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Fri, 9 Apr 2021 16:12:42 +0000 Subject: [PATCH] [FIX] stock: deduplicate detailed operations Detailed Operations tab of a stock.picking was duplicated for style purpose in 30f2ad8c4. But this caused issue eg. in studio because the same field with very similary path was being edited. Since having duplicate fields with same path is not very well supported, this commit remove the duplication after a CSS fix has been done in web_enterprise after which it is no longer required. opw-2480311 closes odoo/odoo#69070 Signed-off-by: Nicolas Lempereur (nle) --- addons/stock/views/stock_picking_views.xml | 23 +++++++--------------- 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/addons/stock/views/stock_picking_views.xml b/addons/stock/views/stock_picking_views.xml index 0e5dbd666e0..bf6efcc6751 100644 --- a/addons/stock/views/stock_picking_views.xml +++ b/addons/stock/views/stock_picking_views.xml @@ -317,30 +317,21 @@ - + name="detailed_operations" + attrs="{'invisible': [('show_operations', '=', False)]}"> - +