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-02 09:40:06 +0100
committerRoberto López López (OpenERP) <rlo@openerp.com>2012-03-02 09:40:06 +0100
commitf0775d762e80c2fdd48b689b253bb02db14e569a (patch)
treec1313bc25a34048e5beaefb569a18f800a4ef801 /addons/google_docs/google_docs.py
parent9afb5cfe64b8f67e4ccfe6e048046fb6937aeef0 (diff)
[imp] kind of working, just the configuration is missing
bzr revid: rlo@openerp.com-20120302084006-m3qx6zfypl6g57r8
Diffstat (limited to 'addons/google_docs/google_docs.py')
-rw-r--r--addons/google_docs/google_docs.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/addons/google_docs/google_docs.py b/addons/google_docs/google_docs.py
index 5e1f30e38fa..3f544c983bc 100644
--- a/addons/google_docs/google_docs.py
+++ b/addons/google_docs/google_docs.py
@@ -23,7 +23,6 @@ class google_docs_ir_attachment(osv.osv):
return client
def create_empty_google_doc(self, cr, uid, model, ids, type_doc):
- import pdb; pdb.set_trace()
'''Associate a copy of the gdoc identified by 'gdocs_res_id' to the current entity.
@param cr: the current row from the database cursor.
@param uid: the current user ID, for security checks.
@@ -52,7 +51,7 @@ class google_docs_ir_attachment(osv.osv):
'res_model': model,
'res_id': ids[0],
'type': 'url',
- 'name': 'new_foo', # TODO pending from the working config
+ 'name': 'new_foo %s' % (type_doc,) , # TODO pending from the working config
'url': gdocs_resource.get_alternate_link().href
})
@@ -75,7 +74,7 @@ class google_docs_ir_attachment(osv.osv):
'res_model': model,
'res_id': ids[0],
'type': 'url',
- 'name': 'copy_foo', # TODO pending from the working config
+ 'name': 'copy_foo %s' (type_doc,) , # TODO pending from the working config
'url': copy_resource.get_alternate_link().href
})