From 9a75284dfa9a152cce721728167e5d999091be9c Mon Sep 17 00:00:00 2001 From: "Bruno Boi (boi)" Date: Thu, 5 Dec 2024 15:12:00 +0000 Subject: [PATCH] [FIX] stock_{picking_batch,fleet}: scope no content helper Since [1], a CSS rule was changing the size of all the no content helpers throughout Odoo when `stock_picking_batch` was installed. This commit fixes that by scoping the rule to its original intent. opw-4370026 [1]: https://github.com/odoo/odoo/commit/06d1d48199ccfc79a80aea314f75d649b3149dba#diff-87ad06e3496be4ac6761b7052a11d9e9f1464e291d305405aae839f1a4d2ba9cR1 closes odoo/odoo#189786 Signed-off-by: Lucas Perais (lpe) --- addons/stock_fleet/views/stock_picking_batch.xml | 4 ++-- .../static/src/scss/stock_picking_batch_empty_screen.scss | 2 +- .../stock_picking_batch/views/stock_picking_batch_views.xml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/addons/stock_fleet/views/stock_picking_batch.xml b/addons/stock_fleet/views/stock_picking_batch.xml index 21fbc9a8f29aa..ddbe7d712a439 100644 --- a/addons/stock_fleet/views/stock_picking_batch.xml +++ b/addons/stock_fleet/views/stock_picking_batch.xml @@ -3,7 +3,7 @@ stock.picking.batch.pivot stock.picking.batch - + @@ -14,7 +14,7 @@ stock.picking.batch.graph stock.picking.batch - + diff --git a/addons/stock_picking_batch/static/src/scss/stock_picking_batch_empty_screen.scss b/addons/stock_picking_batch/static/src/scss/stock_picking_batch_empty_screen.scss index ac9e3379416ca..8ad6ca63c0c5a 100644 --- a/addons/stock_picking_batch/static/src/scss/stock_picking_batch_empty_screen.scss +++ b/addons/stock_picking_batch/static/src/scss/stock_picking_batch_empty_screen.scss @@ -1,3 +1,3 @@ -.o_view_nocontent .o_nocontent_help { +.oe_stock_picking_batch .o_view_nocontent .o_nocontent_help { max-width: 90%; } diff --git a/addons/stock_picking_batch/views/stock_picking_batch_views.xml b/addons/stock_picking_batch/views/stock_picking_batch_views.xml index 4489c358fae75..d4b511522bb43 100644 --- a/addons/stock_picking_batch/views/stock_picking_batch_views.xml +++ b/addons/stock_picking_batch/views/stock_picking_batch_views.xml @@ -133,7 +133,7 @@ stock.picking.batch.list stock.picking.batch - + @@ -151,7 +151,7 @@ stock.picking.batch.kanban stock.picking.batch - +