From 791445eedfbd25a970e03be37beea68a08cda148 Mon Sep 17 00:00:00 2001 From: Tejas Modi Date: Mon, 19 Jun 2023 13:34:06 +0000 Subject: [PATCH] [FIX] stock: restrict validate button in picking Steps to reproduce: =================== - Go to Quality -> Quality Control -> Quality Points. - Create new Quality point, using `Receipt` operation, control per operation. - Go to Inventory -> Operations -> Receipt -> New - Add whatever product with a quantity. Issue: ====== The validate button is displayed even when the quality checks are not done. Added back the `show_validate` condition as this field's compute is overridden in `quality_control` to also check whether there are still quality checks to perform. closes odoo/odoo#126385 Task: 3376811 X-original-commit: d52e146da2980e1c144aa7a9d6c8082bf6bf7adb Signed-off-by: Arnold Moyaux (arm) --- addons/stock/views/stock_picking_views.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/addons/stock/views/stock_picking_views.xml b/addons/stock/views/stock_picking_views.xml index a496b345bbc..a41389a07b7 100644 --- a/addons/stock/views/stock_picking_views.xml +++ b/addons/stock/views/stock_picking_views.xml @@ -109,6 +109,7 @@ + @@ -127,8 +128,8 @@