code: def execute(self, model, method, *args):
          
          self._check_logged_user()
          # Execute the query
          args_to_send = [self.env.db, self.env.uid, self._password,
                          model, method]
          args_to_send.extend(args)
          data = self.json(
              '/jsonrpc',
              {'service': 'object',
               'method': 'execute',
               'args': args_to_send})
          return data.get('result')
docs: Execute the `method` of `model`.
          `*args` parameters varies according to the `method` used.
  
          .. doctest::
              :options: +SKIP
  
              >>> odoo.execute('res.partner', 'read', [1], ['name'])
              [{'id': 1, 'name': 'YourCompany'}]
  
          .. doctest::
              :hide:
  
              >>> data = odoo.execute('res.partner', 'read', [1], ['name'])
              >>> data[0]['id'] == 1
              True
              >>> data[0]['name'] == 'YourCompany'
              True
  
          *Python 2:*
  
          :return: the result returned by the `method` called
          :raise: :class:`odoorpc.error.RPCError`
          :raise: :class:`odoorpc.error.InternalError` (if not logged)
          :raise: `urllib2.URLError` (connection error)
  
          *Python 3:*
  
          :return: the result returned by the `method` called
          :raise: :class:`odoorpc.error.RPCError`
          :raise: :class:`odoorpc.error.InternalError` (if not logged)
          :raise: `urllib.error.URLError` (connection error)