From 15d381a90f71e7db998fcaff51b5ac1a47fdddeb Mon Sep 17 00:00:00 2001 From: Mohammed Shekha Date: Thu, 16 Jan 2025 10:35:26 +0530 Subject: [PATCH] [FIX] theme_test_custo: Update menu search to match URL changes Issue: With PR [1], the url field for menus has been made required, with a default value of #. This allows parent menus and megamenus to have a URL. However, in the theme_test_custo module, theme menus were previously defined with parent menus having specific URLs. Due to this change, the default url value is now #, making it impossible to search menus by URL. As a result, the theme_menu_hierarchies tour failed. Fix: - Updated the menu search mechanism to align with the new behavior. - Ensured that the tour passes successfully with the modified search logic. [1]: https://github.com/odoo/odoo/pull/160950 closes odoo/design-themes#1042 Task: 3851453 Related: odoo/odoo#160950 Related: odoo/upgrade#5904 Signed-off-by: Robin Lejeune (role) --- theme_test_custo/data/menu.xml | 1 - theme_test_custo/views/footer.xml | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/theme_test_custo/data/menu.xml b/theme_test_custo/data/menu.xml index dcacf2fcb..d27bf5481 100644 --- a/theme_test_custo/data/menu.xml +++ b/theme_test_custo/data/menu.xml @@ -62,7 +62,6 @@ Main Menu Animals - /main-menu-animals Dogs diff --git a/theme_test_custo/views/footer.xml b/theme_test_custo/views/footer.xml index 99ea15554..1e1d24cef 100644 --- a/theme_test_custo/views/footer.xml +++ b/theme_test_custo/views/footer.xml @@ -24,7 +24,8 @@
Useful Links