parameters: (self, custom_url)
return_statement: return res.with_context(website_id=website.id).filter_duplicate()
docstring: See web_editor.Assets._get_custom_asset
          Extend to only return the views related to the current website.
docstring_summary: See web_editor.Assets._get_custom_asset
          Extend to only return the views related to the current website.
docstring_tokens: See web_editor . Assets . _get_custom_asset Extend to only return the views related to the current website .
function: def _get_custom_asset(self, custom_url):
          """
          See web_editor.Assets._get_custom_asset
          Extend to only return the views related to the current website.
          """
          website = self.env['website'].get_current_website()
          res = super(Assets, self)._get_custom_asset(custom_url)
          return res.with_context(website_id=website.id).filter_duplicate()
function_tokens: def _get_custom_asset ( self , custom_url ) : website = self . env [ 'website' ] . get_current_website ( ) res = super ( Assets , self ) . _get_custom_asset ( custom_url ) return res . with_context ( website_id = website . id ) . filter_duplicate ( )