diff options
| author | Vidhin Mehta <vme@tinyerp.com> | 2013-01-28 15:10:49 +0530 |
|---|---|---|
| committer | Vidhin Mehta <vme@tinyerp.com> | 2013-01-28 15:10:49 +0530 |
| commit | b45cea4ab860743d21c1ff9991c2f881bc841608 (patch) | |
| tree | 972f7fe2b131995481b68d775b9a52a32301f7ad /addons/google_docs/static/src/js | |
| parent | ef72f482fbeaa1998a5d857d1081d21b9e759ddd (diff) | |
| parent | b390a5697cd4eb8cced5f4cdcf2c34b6cad3a7e4 (diff) | |
[MERGE]Trunk.
bzr revid: vme@tinyerp.com-20130128094049-oddx6ks274hrfq4c
Diffstat (limited to 'addons/google_docs/static/src/js')
| -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') { |
