diff options
| author | Denis Ledoux <dle@openerp.com> | 2013-06-25 12:58:19 +0200 |
|---|---|---|
| committer | Denis Ledoux <dle@openerp.com> | 2013-06-25 12:58:19 +0200 |
| commit | 0bca00c42c87c093e7ff54d7542c0f7fd083253c (patch) | |
| tree | 399a23674ec3c55d8450ffb5522b12c9ee96f0e9 /addons/google_docs/static/src | |
| parent | b4a9b23f8e9e76d20bc3ef2d550b3a652dc12663 (diff) | |
[FIX]google_docs: generic function moved in base account
bzr revid: dle@openerp.com-20130625105819-l8d2zu0vf4tzne2t
Diffstat (limited to 'addons/google_docs/static/src')
| -rw-r--r-- | addons/google_docs/static/src/js/gdocs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/google_docs/static/src/js/gdocs.js b/addons/google_docs/static/src/js/gdocs.js index 9d15cb37a2b..24385b3b85e 100644 --- a/addons/google_docs/static/src/js/gdocs.js +++ b/addons/google_docs/static/src/js/gdocs.js @@ -56,7 +56,7 @@ openerp.google_docs = function (instance, m) { on_google_doc: function (doc_item) { var self = this; self.config = doc_item; - var loaded = self.fetch('google.docs.config', ['gdocs_resource_id', 'google_client_id'], [['id', '=', doc_item.config_id]]) + var loaded = self.fetch('google.docs.config', ['gdocs_resource_id', 'google_docs_client_id'], [['id', '=', doc_item.config_id]]) .then(function (configs) { var ds = new instance.web.DataSet(self, 'google.docs.config'); ds.call('get_google_doc_name', [[doc_item.config_id], doc_item.res_id,configs[0].gdocs_resource_id]).done(function (r) { |
