Skip to Content

Website User Menu Control

This feature introduces a “Hide From” dropdown (many2many) on website menu and sub-menu forms, allowing visibility to be controlled based on user type: Public, Portal, or Internal
June 5, 2025 by
Website User Menu Control
Silverdale Technology, Somroo Hassaan
| No comments yet

In a dynamic web experience, not all content is meant for every type of visitor. Businesses often want to show different website menus to public visitors, portal customers, and internal employees, but Odoo’s standard website menu setup doesn’t offer native visibility controls by user type.

The Website User Menu Control feature introduces this essential flexibility. It enables you to hide or show specific menus based on whether the user is a Public User, Portal User, or Internal User, giving you precise control over website navigation visibility.

Key Features & Benefits:

Control Menu Visibility by User Role

  • Adds a new "Hide From" dropdown on website menu and child menu forms.
  • Supports hiding menus from any combination of:
    • Public Users (not logged in)
    • Portal Users (customers or vendors with portal access)
    • Internal Users (employees)

Dynamic Display Logic at Runtime

  • Menus are dynamically shown or hidden based on the active user’s role.
  • Ensures tailored navigation for customers, staff, and guests.

Easy Configuration in Website Settings

  • Navigate to Website → Configuration → Menus
  • Open any menu item and select roles in the “Hide From” field
  • Save and apply changes instantly — no coding required

Fully Compatible with Menu Hierarchies

  • Works with main menus and nested child menus
  • Ensures child menus don’t appear for restricted users even if parent is visible

Compatible with Odoo 18 Website Module

  • Seamlessly integrates into standard Odoo 18 website backend
  • No disruption to existing menu structures

Example Use Case:

A company wants to create the following experience:

🔹 A “Customer Portal” menu for Portal Users only

🔹 An “Employee Dashboard” menu for Internal Users only

🔹 A “Request Demo” menu for Public Users only

Using this feature, they open each menu and select the appropriate visibility restrictions via the “Hide From” field. Based on login status and access level, users now only see what’s meant for them.

Summary:

The Website User Menu Control feature enhances Odoo 18 by enabling user-type-based visibility of website menus. With just a few clicks, you can now control whether Public, Portal, or Internal users can see specific menu items, improving navigation, securing sensitive links, and creating a tailored web experience for each audience.

Ideal for companies with multi-audience websites or businesses offering role-specific content.

Share this post
Sign in to leave a comment