diff options
| author | Raphael Collet <rco@openerp.com> | 2012-09-28 14:45:41 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2012-09-28 14:45:41 +0200 |
| commit | c74ce161171dfbebbeb2d569914f165b8c1892d0 (patch) | |
| tree | 61c55e48af28d52d9a6ed9a985a74d5fd32a03d0 /addons/google_docs/google_docs.py | |
| parent | fe3cd19a8e9b0ca5e198e414ccbe7e21d0b20ed7 (diff) | |
| parent | 8f3f5b9bba07ed396f358c3cc0733bf20d4f8703 (diff) | |
[MERGE] from trunk
bzr revid: rco@openerp.com-20120928124541-03ux8j6kpkmqw3vc
Diffstat (limited to 'addons/google_docs/google_docs.py')
| -rw-r--r-- | addons/google_docs/google_docs.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/google_docs/google_docs.py b/addons/google_docs/google_docs.py index 270c105daab..f1477f9c7f2 100644 --- a/addons/google_docs/google_docs.py +++ b/addons/google_docs/google_docs.py @@ -134,8 +134,8 @@ class config(osv.osv): _description = "Google Docs templates config" _columns = { - 'model_id': fields.many2one('ir.model', 'Model'), - 'gdocs_resource_id': fields.char('Google resource ID', size=64,help=''' + '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` @@ -143,7 +143,7 @@ This is the id of the template document, on google side. You can find it thanks *for a drawing document with url like `https://docs.google.com/a/openerp.com/drawings/d/123456789/edit`, the ID is `drawings:123456789` ... '''), - 'name_template': fields.char('GDoc name template ', size=64, help='This is the name which appears on google side'), + 'name_template': fields.char('Google Doc Name Pattern', size=64, help='Choose how the new google docs will be named, on google side'), } _defaults = { |
