diff options
| author | vta vta@openerp.com <> | 2012-12-27 14:25:58 +0100 |
|---|---|---|
| committer | vta vta@openerp.com <> | 2012-12-27 14:25:58 +0100 |
| commit | 148bb79b1b0e80b9c3b73e0d5029c4ab296f8258 (patch) | |
| tree | a89ddfd3aadf640bee1245f5c594b43787ee6c7c /addons/google_docs/static/src | |
| parent | 27938877d5d7bcba970350e9d1960e49aa7d185c (diff) | |
| parent | 56287213e9f755dd4063f4e5cac738746531e287 (diff) | |
[MERGE] Latest trunk
bzr revid: vta@openerp.com-20121227132558-vqi3hcwgdfrjcz08
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') { |
