павел храпун 打电话给 method 关于(python) model 通过rpc访问记录数据。
var id = this.id; // (pass the record of ID which you want to read the data)
var res = rpc.query({
model: 'Your Model',
method: 'read', // method which you wanna call
args: [[id], ['name']], // First argument to pass the ID along with second args pass fields
}).then(function (data) {
console.log(data); });
};
1条答案
按热度按时间brjng4g31#
павел храпун
打电话给
method
关于(python)model
通过rpc访问记录数据。