diff options
| author | Lorenzo Battistini <lorenzo.battistini@agilebg.com> | 2013-01-07 16:03:55 +0100 |
|---|---|---|
| committer | Lorenzo Battistini <lorenzo.battistini@agilebg.com> | 2013-01-07 16:03:55 +0100 |
| commit | dbaf490bf70c58d2be03b7dd84628a70a19cd597 (patch) | |
| tree | c92840f6d6cdcb0ca54a3e6ff4af7fd90971ac14 /addons/google_docs/static/src | |
| parent | 52e02fc2304956af6c7ad7ca98ab4f235a344518 (diff) | |
| parent | d2a863998e79a0c5de7d84bbb651ca485e077440 (diff) | |
[MERGE] from 7.0
bzr revid: lorenzo.battistini@agilebg.com-20130107150355-imjr8n56ruupasjs
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') { |
