summaryrefslogtreecommitdiff
path: root/addons/google_docs/google_docs.py
diff options
context:
space:
mode:
authorRoberto López López (OpenERP) <rlo@openerp.com>2012-03-05 15:50:01 +0100
committerRoberto López López (OpenERP) <rlo@openerp.com>2012-03-05 15:50:01 +0100
commitce1d3ce094db59b966adf02f8f0a841d84df1707 (patch)
treeaba3f84c4395183862cf8c5c8868997f19d27c56 /addons/google_docs/google_docs.py
parent01e67d6dd52daae8e4a54202501167b451655ce9 (diff)
[imp] config view
bzr revid: rlo@openerp.com-20120305145001-uut48z736imzbwtn
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 c254b4944ea..dc4fc7d07b7 100644
--- a/addons/google_docs/google_docs.py
+++ b/addons/google_docs/google_docs.py
@@ -124,7 +124,7 @@ class google_docs_config(osv.osv):
res = super(users, self).create(cr, uid, vals, context=context)
model_obj=self.pool.get('ir.model')
if vals.get('context_gdocs_resource_id') and vals.get('context_model_id'):
- self.write(cr, uid, #[vals['model_id']], {'member_ids':[(4, res)]},
+ self.write(cr, uid,
{
'model_id': model_obj.get(cr, uid, vals.get('context_model_id'))[0],
'gdocs_resource_id': vals.get('context_gdocs_resource_id'),