diff options
| author | Arnaud Pineux <api@openerp.com> | 2012-12-27 12:43:33 +0100 |
|---|---|---|
| committer | Arnaud Pineux <api@openerp.com> | 2012-12-27 12:43:33 +0100 |
| commit | 86954fd821c9becafd63eb2fb5170c41fb28f63d (patch) | |
| tree | b5fb812ab6064b746e1fef3300afc1b5a8a64a41 /addons/google_docs/static/src | |
| parent | 31b11163fa3799aa1c375d9893f2cfa441ea3c56 (diff) | |
[FIX] google doc function changed because the google API has changed
lp bug: https://launchpad.net/bugs/1084509 fixed
bzr revid: api@openerp.com-20121227114333-3szgeyrc3d25ua39
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 45e1d09d42c..1cc511ef4d9 100644 --- a/addons/google_docs/static/src/js/gdocs.js +++ b/addons/google_docs/static/src/js/gdocs.js @@ -16,7 +16,7 @@ var _t = instance.web._t, var view = self.getParent(); var ids = ( view.fields_view.type != "form" )? view.groups.get_selection().ids : [ view.datarecord.id ]; if( !_.isEmpty(ids) ){ - view.sidebar_context().done(function (context) { + view.sidebar_eval_context().done(function (context) { var ds = new instance.web.DataSet(this, 'ir.attachment', context); ds.call('google_doc_get', [view.dataset.model, ids, context]).done(function(r) { if (r == 'False') { |
