summaryrefslogtreecommitdiff
path: root/addons/google_docs/google_docs.py
diff options
context:
space:
mode:
authorsgo@tinyerp.com <>2013-04-11 16:17:46 +0530
committersgo@tinyerp.com <>2013-04-11 16:17:46 +0530
commitd2620baa798daa8f6281e4014ba53153ffb9cd91 (patch)
tree3097e0d2573461a7bde524e6d922e06a04dadcd7 /addons/google_docs/google_docs.py
parent78fc70f27c4b80f6010d0059df9ab75f1120aa80 (diff)
parent385f4dbaaa71e4ff6adef6ad2209b25134e95025 (diff)
[MERGE]sync with trunk
bzr revid: sgo@tinyerp.com-20130411104746-3es0zngtda287wzb
Diffstat (limited to 'addons/google_docs/google_docs.py')
-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 cdb14de1de3..3b060e199c0 100644
--- a/addons/google_docs/google_docs.py
+++ b/addons/google_docs/google_docs.py
@@ -155,7 +155,7 @@ class google_docs_ir_attachment(osv.osv):
pool_ir_attachment = self.pool.get('ir.attachment')
pool_gdoc_config = self.pool.get('google.docs.config')
name_gdocs = ''
- model_fields_dic = self.pool.get(res_model).read(cr, uid, res_id, [], context=context)
+ model_fields_dic = self.pool[res_model].read(cr, uid, res_id, [], context=context)
# check if a model is configured with a template
google_docs_config = pool_gdoc_config.search(cr, uid, [('model_id', '=', res_model)], context=context)