diff options
| author | Roberto López López (OpenERP) <rlo@openerp.com> | 2012-02-27 13:38:34 +0100 |
|---|---|---|
| committer | Roberto López López (OpenERP) <rlo@openerp.com> | 2012-02-27 13:38:34 +0100 |
| commit | 37ed7a1d9f1819fd39cbf0eb0679ae17e1afd91a (patch) | |
| tree | 071920dbb3f84175667dc17cba07d14b42980c7f /addons/google_docs/google_docs.py | |
| parent | cea3437f596f73558e23f1e67d61029daccf8d6f (diff) | |
[imp] view
bzr revid: rlo@openerp.com-20120227123834-todar214ngca7pu0
Diffstat (limited to 'addons/google_docs/google_docs.py')
| -rw-r--r-- | addons/google_docs/google_docs.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/google_docs/google_docs.py b/addons/google_docs/google_docs.py index 90edb15b104..def1f3097e1 100644 --- a/addons/google_docs/google_docs.py +++ b/addons/google_docs/google_docs.py @@ -74,12 +74,11 @@ class google_docs(osv.osv): edit_url_template = 'https://docs.google.com/Edit?docid=%s' prefix_gdoc_id_res = DOCUMENT_LABEL + ':' - def copy_gdoc(self, cr, uid, model, folder=None, context=None): + def copy_gdoc(self, cr, uid, model, context=None): '''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. @param model: the current model name. - @param folder: folder in which to store the copy. @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. |
