mirror of https://github.com/OCA/web.git
If a menu item is created manually via the Odoo UI, then it (likely) won't have an xmlid. As a result, the `t-foreach` fails, resulting in the whole Odoo UI crashing (a blank white screen is shown). This code should use `id` as the `t-key` instead, as that is *always* available, even for menu items created manually. |
||
---|---|---|
.. | ||
apps_menu | ||
apps_menu_item | ||
chatter | ||
command_palette | ||
control_panel | ||
file_viewer | ||
hotkey | ||
menu_canonical_searchbar | ||
menu_fuse_searchbar | ||
menu_odoo_searchbar | ||
menu_searchbar | ||
apps_menu_tools.esm.js |