summaryrefslogtreecommitdiff
path: root/addons/google_docs/google_docs.py
diff options
context:
space:
mode:
authorRoberto López López (OpenERP) <rlo@openerp.com>2012-02-24 15:01:19 +0100
committerRoberto López López (OpenERP) <rlo@openerp.com>2012-02-24 15:01:19 +0100
commitd680f6c1a16d8f1415b78c8de674c32b6949aba3 (patch)
tree9b710e71315d1bef33425b6a3cadf529ee16af61 /addons/google_docs/google_docs.py
parent33c3e277b6b496f8aa1c5a22c244390e29a6fba5 (diff)
[fix]
bzr revid: rlo@openerp.com-20120224140119-hoapkm5d13uietx1
Diffstat (limited to 'addons/google_docs/google_docs.py')
-rw-r--r--addons/google_docs/google_docs.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/addons/google_docs/google_docs.py b/addons/google_docs/google_docs.py
index 0ad64124d04..718952fba34 100644
--- a/addons/google_docs/google_docs.py
+++ b/addons/google_docs/google_docs.py
@@ -27,19 +27,20 @@ class google_docs(osv.osv):
@param context: a standard dictionary for contextual values.
@return the url of the copy itself.
@return -1 if the template hasn't been assigned yet.
- @return -2 if the google_base_account hasn't been configured yet.'''
+ @return -2 if the google_base_account hasn't been configured yet.
+ '''
if context==None:
context={}
- template_vars = {
+ template_vars = {
'db' : cr.dbname,
'model' : model,
'id' : id,
'salt' : salt,
'name' : '',
}
- name_template = 'Sales order %s %s'
+ name_template = 'Sales order %s %s'
# check template for the current model
model_obj = self.pool.get(model)
@@ -71,7 +72,8 @@ class google_docs(osv.osv):
@param uid: the current user ID, for security checks.
@param context: a standard dictionary for contextual values.
@return a list with information about the documents in form of tuples (document_name, document_resource_id).
- @return -2 if the google_base_account hasn't been configured yet.'''
+ @return -2 if the google_base_account hasn't been configured yet.
+ '''
if context == None:
context = {}