parameters: (self, custom_id, arch)
return_statement: return {'result': True}
docstring: Edit a custom view
  
          :param int custom_id: the id of the edited custom view
          :param str arch: the edited arch of the custom view
          :returns: dict with acknowledged operation (result set to True)
docstring_summary: Edit a custom view
docstring_tokens: Edit a custom view
function: def edit_custom(self, custom_id, arch):
          """
          Edit a custom view
  
          :param int custom_id: the id of the edited custom view
          :param str arch: the edited arch of the custom view
          :returns: dict with acknowledged operation (result set to True)
          """
          custom_view = request.env['ir.ui.view.custom'].browse(custom_id)
          custom_view.write({ 'arch': arch })
          return {'result': True}
function_tokens: def edit_custom ( self , custom_id , arch ) : custom_view = request . env [ 'ir.ui.view.custom' ] . browse ( custom_id ) custom_view . write ( { 'arch' : arch } ) return { 'result' : True }