parameters: (self)
docstring: Also ensure a value for website_menu as it is a trigger notably for
          track related menus.
docstring_summary: Also ensure a value for website_menu as it is a trigger notably for
          track related menus.
docstring_tokens: Also ensure a value for website_menu as it is a trigger notably for track related menus .
function: def _compute_website_menu(self):
          """ Also ensure a value for website_menu as it is a trigger notably for
          track related menus. """
          for event in self:
              if event.event_type_id and event.event_type_id != event._origin.event_type_id:
                  event.website_menu = event.event_type_id.website_menu
              elif not event.website_menu:
                  event.website_menu = False
function_tokens: def _compute_website_menu ( self ) : for event in self : if event . event_type_id and event . event_type_id != event . _origin . event_type_id : event . website_menu = event . event_type_id . website_menu elif not event . website_menu : event . website_menu = False