summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--addons/google_docs/google_docs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/google_docs/google_docs.py b/addons/google_docs/google_docs.py
index 040dce932ea..34b4e5a16ed 100644
--- a/addons/google_docs/google_docs.py
+++ b/addons/google_docs/google_docs.py
@@ -107,7 +107,7 @@ class google_docs(osv.osv):
google_docs_config = google_docs_config_ref.search(cr, uid, [('model_id', '=', model)])
if not google_docs_config:
- google_document = ir_attachment_ref.create_empty_google_doc(cr, uid, model, ids, type_doc)
+ google_document = ir_attachment_ref.create_empty_google_doc(cr, uid, model, id, type_doc)
else:
google_document = ir_attachment_ref.copy_gdoc(cr, uid, model, id)