Skip to content

Conversation

masp-odoo
Copy link
Contributor

task-5003509

@robodoo
Copy link
Collaborator

robodoo commented Sep 26, 2025

Pull request status dashboard

@masp-odoo masp-odoo requested a review from auva-odoo September 26, 2025 13:09
@masp-odoo
Copy link
Contributor Author

Hello @auva-odoo, I adapted a little regarding what you suggested in the task. We can discuss this together! See ya 👋

@C3POdoo C3POdoo requested a review from a team September 26, 2025 13:12
Copy link
Contributor

@auva-odoo auva-odoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@masp-odoo thank you for your work! Let me know if you have any questions or things you'd like to discuss!


To finalize changes, click on :guilabel:`Save`.

Hide a dynamic menu
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • I think this would fit better under Header content, as an h3 (as the last h3 in that section)
  • and I would be more precise here to make sure we're not misleading
Suggested change
Hide a dynamic menu
Hide a dynamic menu item for non-logged in users

(menu item because we use menu in this doc to refer to the whole navbar and non-logged in because otherwise you can hide any menu item using the delete buton in the menu editor)

Comment on lines +174 to +176
To hide a dynamic menu (events, eLearning, appointments) for non-logged users, enable debug mode, go
to :menuselection:`Configuration --> Menus`, and select the menu you want to hide. On the
:guilabel:`Visible Groups` section, under :guilabel:`Group Name` add User types / Portal.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Let's add the ref for the developer mode
  • I think we should briefly explain what we mean by dynamic menu like we did for dynamic pages on the Pages doc page so we don't have to name all menu items/apps (since we would need to add blog, forum, etc.)
  • I think we should use a numbered list here since there are 3+ steps and it would make it easier to follow.
  • Don't forget to start with the app name in menuselection 😉
  • I think some (small) steps are missing (see my suggestion below, towards the end).
Suggested change
To hide a dynamic menu (events, eLearning, appointments) for non-logged users, enable debug mode, go
to :menuselection:`Configuration --> Menus`, and select the menu you want to hide. On the
:guilabel:`Visible Groups` section, under :guilabel:`Group Name` add User types / Portal.
To hide a dynamic menu item (i.e., a menu item generated automatically by Odoo, for example, when you install an app or module, such as `Events`, `Courses`, etc.) for non-logged in users, follow these steps:
#. :ref:`Enable developer mode <developer-mode>`.
#. Go to :menuselection:`Website --> Configuration --> Menus`.
#. Expand the list of menus for the relevant website if needed, then click the menu item you wish to hide.
#. In the :guilabel:`Visible Groups` section, click :guilabel:`Add a line` under :guilabel:`Group Name`.
#. Search for the group :guilabel:`User types / Portal`, select it, then click :guilabel:`Select`.
#. Save.

Comment on lines +178 to +181
.. tip::
To hide the /shop page of your eCommerce for non-logged users, go to
:menuselection:`Configuration --> Settings`, in the :guilabel:`Privacy` section, go to
:guilabel:`Ecommerce Access` and toggle on :icon:`fa-toggle-on` :guilabel:`Logged in users`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Larissa is currently reviewing the Customer accounts doc page in the ecommerce section where she will document this. So I suggest rephrasing this slightly so we don't go into much detail and instead refer to that Customer accounts doc page (we'll change that doc link to a ref once Larissa has pushed her PR @lman-odoo ).

Suggested change
.. tip::
To hide the /shop page of your eCommerce for non-logged users, go to
:menuselection:`Configuration --> Settings`, in the :guilabel:`Privacy` section, go to
:guilabel:`Ecommerce Access` and toggle on :icon:`fa-toggle-on` :guilabel:`Logged in users`.
.. tip::
To hide the `Shop` menu item, :doc:`restrict ecommerce access to logged-in users <../../ecommerce/customer_accounts>`.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants