You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, in that line I had a problem, I have configured a multi website system and I wanted to apply the conditions in public menus on different websites.
I replaced all from that line until the end of file and put this code:
visible = False
if self.env.user.id != menu.website_id.user_id.id and menu.user_logged:
visible = menu.user_logged
else:
visible = menu.user_not_logged
menu.is_visible = visible
I hope it can be fine for you.
Kind regards.
The text was updated successfully, but these errors were encountered:
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.
website/website_menu_by_user_status/models/website_menu.py
Line 34 in c107e9d
Hello, in that line I had a problem, I have configured a multi website system and I wanted to apply the conditions in public menus on different websites.
I replaced all from that line until the end of file and put this code:
I hope it can be fine for you.
Kind regards.
The text was updated successfully, but these errors were encountered: