diff options
| author | Antonin Bourguignon <abo@openerp.com> | 2012-09-24 17:35:47 +0200 |
|---|---|---|
| committer | Antonin Bourguignon <abo@openerp.com> | 2012-09-24 17:35:47 +0200 |
| commit | 05059bef7fa7e2f0a8d8b9f123d9028791c08614 (patch) | |
| tree | ff50823374fd90d388fe122420517fecd65d359b /addons/google_docs | |
| parent | 7b6280243572f4e0c60772be23ba8fc154e541b2 (diff) | |
| parent | 306accf7d13040e69a5d880d00d57769993770a2 (diff) | |
[MERGE] trunk
bzr revid: abo@openerp.com-20120924153547-i1r9l0i5asjhml0k
Diffstat (limited to 'addons/google_docs')
| -rw-r--r-- | addons/google_docs/__openerp__.py | 7 | ||||
| -rw-r--r-- | addons/google_docs/static/src/js/gdocs.js | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/addons/google_docs/__openerp__.py b/addons/google_docs/__openerp__.py index 8cc5671e08a..b02f2e912fc 100644 --- a/addons/google_docs/__openerp__.py +++ b/addons/google_docs/__openerp__.py @@ -29,10 +29,13 @@ 'auto_install': False, 'web': True, 'js': ['static/src/js/gdocs.js'], - 'update_xml': [ + 'data': [ 'security/ir.model.access.csv', 'res_config_user_view.xml' ], 'depends': ['google_base_account'], - 'description': 'Module to attach a google document to any model.' + 'description': """ +Module to attach a google document to any model. +================================================ +""" } diff --git a/addons/google_docs/static/src/js/gdocs.js b/addons/google_docs/static/src/js/gdocs.js index 8f41a9d7b21..694f5736c72 100644 --- a/addons/google_docs/static/src/js/gdocs.js +++ b/addons/google_docs/static/src/js/gdocs.js @@ -3,7 +3,7 @@ var _t = instance.web._t; instance.web.Sidebar = instance.web.Sidebar.extend({ on_attachments_loaded: function(attachments) { - self = this + var self = this; self._super(attachments); // if attachment contains a google doc url do nothing // else display a button to create a google doc |
