diff --git a/website_menu_by_user_status/models/website_menu.py b/website_menu_by_user_status/models/website_menu.py index 1afa8034f4..05a9a8f30d 100644 --- a/website_menu_by_user_status/models/website_menu.py +++ b/website_menu_by_user_status/models/website_menu.py @@ -33,7 +33,7 @@ def _compute_visible(self): super()._compute_visible() for menu in self: if not menu.is_visible: - menu.is_visible = False + continue if self.env.user == self.env.ref("base.public_user"): menu.is_visible = menu.user_not_logged