summaryrefslogtreecommitdiff
path: root/addons/google_docs/static/src
diff options
context:
space:
mode:
authorRGA(OpenERP) <>2013-01-31 14:13:19 +0530
committerRGA(OpenERP) <>2013-01-31 14:13:19 +0530
commit31696e3de5b050903be749fcd4d06d5c3d4e8026 (patch)
tree37a8980b9f623887427620a7102e1627a253be39 /addons/google_docs/static/src
parent67c51fcdeddfb402c2cd553253484514336d5e86 (diff)
parentb390a5697cd4eb8cced5f4cdcf2c34b6cad3a7e4 (diff)
Merge with trunk
bzr revid: rgaopenerp-20130131084319-aamml0ubib0bz35b
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') {