RPC

class trytond.rpc.RPC([readonly[, instantiate[, result]]])

RPC is an object to define the behavior of Remote Procedur Call.

Instance attributes are:

RPC.readonly

The transaction mode

RPC.instantiate

The position of the argument to be instanciated

RPC.result

The function to transform the result