summaryrefslogtreecommitdiff
path: root/addons/google_docs/static/src
diff options
context:
space:
mode:
authorBhumi Thakkar (Open ERP) <bth@tinyerp.com>2013-01-28 11:15:31 +0530
committerBhumi Thakkar (Open ERP) <bth@tinyerp.com>2013-01-28 11:15:31 +0530
commit76de37f9bda8ce1a8e75439c577cfa0c1afa876f (patch)
tree89f150ed741f3247fe8b14e2831962a62d95e0e7 /addons/google_docs/static/src
parent45f013603ffe691524aaf497e20e0af45f1b876b (diff)
parentb390a5697cd4eb8cced5f4cdcf2c34b6cad3a7e4 (diff)
[MERGE] Merge lp:openobject-addons.
bzr revid: bth@tinyerp.com-20130128054531-uw2kkz03zbnf3vub
Diffstat (limited to 'addons/google_docs/static/src')
-rw-r--r--addons/google_docs/static/src/js/gdocs.js2
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') {