diff options
| author | Géry Debongnie <ged@odoo.com> | 2017-03-07 16:14:05 +0100 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2017-04-11 19:44:38 +0200 |
| commit | 86a87aa8b0dde2237cfe1bb769724e8ed269b62e (patch) | |
| tree | 472de08242d81d1811c23dbfcd4381a903917d85 /addons/google_drive/static | |
| parent | 78c97e6cc4c90036e68ad8f82b3c7d326b321067 (diff) | |
[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.
Diffstat (limited to 'addons/google_drive/static')
| -rw-r--r-- | addons/google_drive/static/src/js/gdrive.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/google_drive/static/src/js/gdrive.js b/addons/google_drive/static/src/js/gdrive.js index 170c992f8f8..204d6824bad 100644 --- a/addons/google_drive/static/src/js/gdrive.js +++ b/addons/google_drive/static/src/js/gdrive.js @@ -59,7 +59,7 @@ Sidebar.include({ var self = this; var domain = [['id', '=', doc_item.config_id]]; var fields = ['google_drive_resource_id', 'google_drive_client_id']; - this.rpc('google.drive.config', 'search_read') + this._rpc('google.drive.config', 'search_read') .args([domain, fields]) .exec() .then(function (configs) { |
