From 2136b32b9557fd118bcfe4d081144b8ba898d5b1 Mon Sep 17 00:00:00 2001 From: Victor Feyens Date: Thu, 3 Aug 2023 16:49:00 +0000 Subject: [PATCH] [FIX] uom: do not allow uom.uom creation from tree view Since 6f182eeeab082b094563836a7a3dc2f4e56375f0, UoM should be created through the UoM category tab as the UoM form view is now unusable. Previous bugfix commit 58a3954d606d48b2a4cf678eb0bf13d6e28b1aef disabled the menu from the different applications, but later changes in sale brought back the menu again. Since it doesn't hurt to have the menu in debug mode, the lowest solution would be to disable the creation of uoms from the uoms tree view. closes odoo/odoo#131237 Signed-off-by: Victor Feyens (vfe) --- addons/uom/views/uom_uom_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/uom/views/uom_uom_views.xml b/addons/uom/views/uom_uom_views.xml index ec8b2b0a266..7ce6ee8fc30 100644 --- a/addons/uom/views/uom_uom_views.xml +++ b/addons/uom/views/uom_uom_views.xml @@ -4,7 +4,7 @@ uom.uom.tree uom.uom - +