summaryrefslogtreecommitdiff
path: root/addons/google_docs/google_docs.py
diff options
context:
space:
mode:
authorRajesh Prajapati (OpenERP) <rpr@tinyerp.com>2013-02-28 14:16:31 +0530
committerRajesh Prajapati (OpenERP) <rpr@tinyerp.com>2013-02-28 14:16:31 +0530
commit0852ebc8729bf39ec7c9d4ae3d9053d7cf7358c8 (patch)
treef679c341cc2d91a0ed323c8837b5a9bce7ff80cd /addons/google_docs/google_docs.py
parentb992b715e5a02d24441e0f49fa01eacc84ce5c4b (diff)
parent5b68aa7d83c25e635f5c2c44be7334e9c6dd22b1 (diff)
[merge]: merge with parent branch
bzr revid: rpr@tinyerp.com-20130228084631-uvvi3ertxzb2ka9p
Diffstat (limited to 'addons/google_docs/google_docs.py')
-rw-r--r--addons/google_docs/google_docs.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/addons/google_docs/google_docs.py b/addons/google_docs/google_docs.py
index 82cd80635ee..e507ce33b16 100644
--- a/addons/google_docs/google_docs.py
+++ b/addons/google_docs/google_docs.py
@@ -177,14 +177,8 @@ class config(osv.osv):
_columns = {
'model_id': fields.many2one('ir.model', 'Model', required=True),
- 'gdocs_resource_id': fields.char('Google Resource ID to Use as Template', size=64, help='''
-This is the id of the template document, on google side. You can find it thanks to its URL:
-*for a text document with url like `https://docs.google.com/a/openerp.com/document/d/123456789/edit`, the ID is `document:123456789`
-*for a spreadsheet document with url like `https://docs.google.com/a/openerp.com/spreadsheet/ccc?key=123456789#gid=0`, the ID is `spreadsheet:123456789`
-*for a presentation (slide show) document with url like `https://docs.google.com/a/openerp.com/presentation/d/123456789/edit#slide=id.p`, the ID is `presentation:123456789`
-*for a drawing document with url like `https://docs.google.com/a/openerp.com/drawings/d/123456789/edit`, the ID is `drawings:123456789`
-...
-''', required=True),
+ 'filter_id' : fields.many2one('ir.filters', 'Filter'),
+ 'template_url': fields.char('Template Url', required=True, size=1024),
'name_template': fields.char('Google Drive Name Pattern', size=64, help='Choose how the new google drive will be named, on google side. Eg. gdoc_%(field_name)s', required=True),
}