From d4250fc630d4e4510f3e8bcd31e6a02a792d91ec Mon Sep 17 00:00:00 2001 From: "Pinakin Nayi (OpenERP)" Date: Thu, 14 Jun 2012 18:01:28 +0530 Subject: [IMP]google_docs Access bzr revid: pna@tinyerp.com-20120614123128-vbyeicoucefs8vx5 --- addons/google_docs/__openerp__.py | 1 + 1 file changed, 1 insertion(+) (limited to 'addons/google_docs') diff --git a/addons/google_docs/__openerp__.py b/addons/google_docs/__openerp__.py index 1df94f34221..8cc5671e08a 100644 --- a/addons/google_docs/__openerp__.py +++ b/addons/google_docs/__openerp__.py @@ -30,6 +30,7 @@ 'web': True, 'js': ['static/src/js/gdocs.js'], 'update_xml': [ + 'security/ir.model.access.csv', 'res_config_user_view.xml' ], 'depends': ['google_base_account'], -- cgit v1.2.3 From bf9c96864032394d2064b4d0895be245cdbe69cf Mon Sep 17 00:00:00 2001 From: "Pinakin Nayi (OpenERP)" Date: Thu, 14 Jun 2012 18:40:06 +0530 Subject: [ADD] add securtiy file bzr revid: pna@tinyerp.com-20120614131006-emewfn4xi8wn5n1e --- addons/google_docs/security/ir.model.access.csv | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 addons/google_docs/security/ir.model.access.csv (limited to 'addons/google_docs') diff --git a/addons/google_docs/security/ir.model.access.csv b/addons/google_docs/security/ir.model.access.csv new file mode 100644 index 00000000000..9393d586fb8 --- /dev/null +++ b/addons/google_docs/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_google_docs,google.docs.config,model_google_docs_config,,1,0,0,0 +access_google_docs,google.docs.config,model_google_docs_config,base.group_system,1,1,1,1 \ No newline at end of file -- cgit v1.2.3 From 0eb19849badd549f6ea36622a82e69f9b2a634be Mon Sep 17 00:00:00 2001 From: "Pinakin Nayi (OpenERP)" Date: Thu, 12 Jul 2012 18:43:37 +0530 Subject: [IMP]google-caldav-warning-msg bzr revid: pna@tinyerp.com-20120712131337-uu2t52v22x3xo8ki --- addons/google_docs/google_docs.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'addons/google_docs') diff --git a/addons/google_docs/google_docs.py b/addons/google_docs/google_docs.py index 659c86ad0d1..270c105daab 100644 --- a/addons/google_docs/google_docs.py +++ b/addons/google_docs/google_docs.py @@ -27,7 +27,7 @@ try: from gdata.docs.service import DOCUMENT_LABEL import gdata.auth except ImportError: - raise osv.except_osv(_('Google Docs Error!'), _('Please install gdata-python-client from http://code.google.com/p/gdata-python-client/downloads/list')) + raise osv.except_osv(_('Google Docs Error!'), _('Please install gdata-python-client from http://code.google.com/p/gdata-python-client/downloads/list.')) class google_docs_ir_attachment(osv.osv): _inherit = 'ir.attachment' @@ -46,7 +46,7 @@ class google_docs_ir_attachment(osv.osv): #login gmail account client = google_pool.google_login( user_config['user'], user_config['password'], type='docs_client', context=context) if not client: - raise osv.except_osv( _('Google Docs Error!'), _("Check your google configuration in users/synchronization")) + raise osv.except_osv( _('Google Docs Error!'), _("Check your google configuration in Users/Users/Synchronization tab.")) return client def create_empty_google_doc(self, cr, uid, res_model, res_id, context=None): @@ -88,7 +88,7 @@ class google_docs_ir_attachment(osv.osv): #copy the document you choose in the configuration copy_resource = client.copy_resource(original_resource, 'copy_%s' % original_resource.title.text) except: - raise osv.except_osv(_('Google Docs Error!'), _("Your resource id is not correct. You can find the id in the google docs URL")) + raise osv.except_osv(_('Google Docs Error!'), _("Your resource id is not correct. You can find the id in the google docs URL.")) # create an ir.attachment self.create(cr, uid, { 'res_model': res_model, -- cgit v1.2.3 From 721adad01e6d0242b6a17c339eb39deafacc66eb Mon Sep 17 00:00:00 2001 From: "Twinkle Christian (OpenERP)" Date: Wed, 8 Aug 2012 18:18:39 +0530 Subject: [IMP]Remove type field from the whole hr module bzr revid: tch@tinyerp.com-20120808124839-ecd1uic8mscg3s7f --- addons/google_docs/res_config_user_view.xml | 2 -- 1 file changed, 2 deletions(-) (limited to 'addons/google_docs') diff --git a/addons/google_docs/res_config_user_view.xml b/addons/google_docs/res_config_user_view.xml index 46abe5b2d80..4aabba3ac5a 100644 --- a/addons/google_docs/res_config_user_view.xml +++ b/addons/google_docs/res_config_user_view.xml @@ -7,7 +7,6 @@ google_docs.config.tree google.docs.config - tree @@ -18,7 +17,6 @@ google_docs.config.form google.docs.config - form -- cgit v1.2.3 From b040d2706d6921a22b13f70e6f0689dba8399193 Mon Sep 17 00:00:00 2001 From: Hardik Date: Fri, 17 Aug 2012 16:45:40 +0530 Subject: [IMP]update __openerp__.py in all modules bzr revid: hsa@tinyerp.com-20120817111540-rfql0ifsvbx5nz7g --- addons/google_docs/__openerp__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/google_docs') diff --git a/addons/google_docs/__openerp__.py b/addons/google_docs/__openerp__.py index 8cc5671e08a..a9251241dac 100644 --- a/addons/google_docs/__openerp__.py +++ b/addons/google_docs/__openerp__.py @@ -29,7 +29,7 @@ 'auto_install': False, 'web': True, 'js': ['static/src/js/gdocs.js'], - 'update_xml': [ + 'data': [ 'security/ir.model.access.csv', 'res_config_user_view.xml' ], -- cgit v1.2.3 From 0d4603f4f97289d0fae3b811eb3d5b7ac1da0ded Mon Sep 17 00:00:00 2001 From: help <> Date: Mon, 20 Aug 2012 14:57:16 +0530 Subject: [IMP]improved modules description from rst2html bzr revid: help-20120820092716-x61hs1o7d8lz6tpg --- addons/google_docs/__openerp__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'addons/google_docs') diff --git a/addons/google_docs/__openerp__.py b/addons/google_docs/__openerp__.py index 8cc5671e08a..4a005a5d769 100644 --- a/addons/google_docs/__openerp__.py +++ b/addons/google_docs/__openerp__.py @@ -34,5 +34,8 @@ '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. +================================================ +""" } -- cgit v1.2.3