summaryrefslogtreecommitdiff
path: root/addons/google_docs
diff options
context:
space:
mode:
authorRajesh Prajapati (OpenERP) <rpr@tinyerp.com>2013-04-04 15:37:59 +0530
committerRajesh Prajapati (OpenERP) <rpr@tinyerp.com>2013-04-04 15:37:59 +0530
commit4ed6734b82f199952f672a812478b283342125ed (patch)
tree63213a701edb982b47f0bca680a1a653998114d7 /addons/google_docs
parentbedf4120883af69c0b1b16c5e3ed0cd1b102aa81 (diff)
[IMP] google_docs :change for user
bzr revid: rpr@tinyerp.com-20130404100759-5h0olj38rpkxhj6g
Diffstat (limited to 'addons/google_docs')
-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 b81b69b7e44..824a9ddf06b 100644
--- a/addons/google_docs/google_docs.py
+++ b/addons/google_docs/google_docs.py
@@ -161,7 +161,7 @@ class google_docs_ir_attachment(osv.osv):
pool_gdoc_config = self.pool.get('google.docs.config')
pool_model = self.pool.get("ir.model")
attachment = {'url': False}
- config = pool_gdoc_config.browse(cr, uid, config_id, context=context)
+ config = pool_gdoc_config.browse(cr, SUPERUSER_ID, config_id, context=context)
if config:
res_model = config.model_id
model_ids = pool_model.search(cr, uid, [('model','=',res_model)])