addons14/base_rest_demo/services/partner_services.py
def archive(self, _id, **params):
        """
        Archive the given partner. This method is an empty method, IOW it
        don't update the partner. This method is part of the demo data to
        illustrate that historically it's not mandatory to defined a schema
        describing the content of the response returned by a method.
        This kind of definition is DEPRECATED and will no more supported in
        the future.
        :param _id:
        :param params:
        :return:
        """
        return {"response": "Method archive called with id %s" % _id}

        Archive the given partner. This method is an empty method, IOW it
        don't update the partner. This method is part of the demo data to
        illustrate that historically it's not mandatory to defined a schema
        describing the content of the response returned by a method.
        This kind of definition is DEPRECATED and will no more supported in
        the future.
        :param _id:
        :param params:
        :return:
        
Archive the given partner. This method is an empty method, IOW it
don't update the partner. This method is part of the demo data to
illustrate that historically it's not mandatory to defined a schema
describing the content of the response returned by a method.
This kind of definition is DEPRECATED and will no more supported in
the future.
Archive the given partner . This method is an empty method IOW it don ' t update the partner . This method is part of the demo data to illustrate that historically it ' s not mandatory to defined a schema describing the content of the response returned by a method . This kind of definition is DEPRECATED and will no more supported in the future .
def archive(self, _id, **params):
        return {"response": "Method archive called with id %s" % _id}
def archive ( self , _id , ** params ) : return { "response" : "Method archive called with id %s" % _id }
Archive the given partner.
Archive the given partner .
"""
        Archive the given partner. This method is an empty method, IOW it
        don't update the partner. This method is part of the demo data to
        illustrate that historically it's not mandatory to defined a schema
        describing the content of the response returned by a method.
        This kind of definition is DEPRECATED and will no more supported in
        the future.
        :param _id:
        :param params:
        :return:
        """
None
self
_id
None
params
None