From 86a87aa8b0dde2237cfe1bb769724e8ed269b62e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9ry=20Debongnie?= Date: Tue, 7 Mar 2017 16:14:05 +0100 Subject: [REF] *: use _rpc method for all rpcs The _rpc method is now the preferred method to do a rpc, so we need to update all calls. --- addons/web/static/src/js/core/widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/web/static/src/js/core/widget.js') diff --git a/addons/web/static/src/js/core/widget.js b/addons/web/static/src/js/core/widget.js index e47586e9a17..82e8041c98a 100644 --- a/addons/web/static/src/js/core/widget.js +++ b/addons/web/static/src/js/core/widget.js @@ -34,7 +34,7 @@ var ServicesMixin = require('web.ServicesMixin'); * * // if you have some asynchronous operations, it's a good idea to return * // a promise in start() - * var promise = this.rpc(...); + * var promise = this._rpc(...); * return promise; * } * }); -- cgit v1.2.3