From 2edf100c8f80ae0273c74bdf190f6d2796f856d3 Mon Sep 17 00:00:00 2001 From: svs-odoo Date: Fri, 19 Jul 2019 08:55:02 +0000 Subject: [PATCH] [FIX] stock: hide lot_id on quant list Before this commit, the field `lot_id` was hidden when useless for the editable quant list, but was always present in the readonly quant list. Now, the `lot_id` is hidden when appropriate in the two lists. closes odoo/odoo#35008 Signed-off-by: Simon Lejeune (sle) --- addons/stock/views/stock_quant_views.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/stock/views/stock_quant_views.xml b/addons/stock/views/stock_quant_views.xml index 06bd6eea960..e3dc4271566 100644 --- a/addons/stock/views/stock_quant_views.xml +++ b/addons/stock/views/stock_quant_views.xml @@ -118,7 +118,8 @@ create="0" delete="0" decoration-danger="quantity < 0"> - +