parameters: (self)
docstring: Refresh the current theme of the current website.
  
              To refresh it, we only need to upgrade the modules.
              Indeed the (re)loading of the theme will be done automatically on ``write``.
docstring_summary: Refresh the current theme of the current website.
docstring_tokens: Refresh the current theme of the current website .
function: def button_refresh_theme(self):
          """
              Refresh the current theme of the current website.
  
              To refresh it, we only need to upgrade the modules.
              Indeed the (re)loading of the theme will be done automatically on ``write``.
          """
          website = self.env['website'].get_current_website()
          website.theme_id._theme_upgrade_upstream()
function_tokens: def button_refresh_theme ( self ) : website = self . env [ 'website' ] . get_current_website ( ) website . theme_id . _theme_upgrade_upstream ( )