summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorRoberto López López (OpenERP) <rlo@openerp.com>2012-03-01 16:28:05 +0100
committerRoberto López López (OpenERP) <rlo@openerp.com>2012-03-01 16:28:05 +0100
commit65d257d4e9fd9bee1c6ab82e63f4f122aa2ffe41 (patch)
tree87916bf36f2790d71d4c453580f52ef96bd370a3 /addons
parent663a525f76ccf263dbb37b451a9c7f2898217a2b (diff)
[imp]
bzr revid: rlo@openerp.com-20120301152805-p7wosq6x4johbosj
Diffstat (limited to 'addons')
-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)