From 008fb8b7f2188f4419a594d09257a650cd02c332 Mon Sep 17 00:00:00 2001 From: jam-openerp Date: Mon, 17 Jan 2011 17:14:21 +0530 Subject: [PATCH] [ADD] caldav : caldav synchronization wizard added new field to link online caldav documentation bzr revid: jam@tinyerp.com-20110117114421-wkv8h9mldsg8f8a7 --- addons/caldav/wizard/caldav_browse.py | 6 ++++-- addons/caldav/wizard/caldav_browse_view.xml | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/addons/caldav/wizard/caldav_browse.py b/addons/caldav/wizard/caldav_browse.py index dfb7385931f..a71f6043fea 100644 --- a/addons/caldav/wizard/caldav_browse.py +++ b/addons/caldav/wizard/caldav_browse.py @@ -237,7 +237,8 @@ class user_preference(osv.osv_memory): 'collection' :fields.many2one('document.directory', "Calendar Collection", required=True, domain = [('calendar_collection', '=', True)]), 'calendar' :fields.many2one('basic.calendar', 'Calendar', required=True), 'service': fields.selection([('webdav','CalDAV')], "Services"), - 'device' : fields.selection([('other', 'Other'), ('iphone', 'iPhone'), ('android', 'Android based device'),('thunderbird', 'Sunbird/Thunderbird'), ('evolution','Evolution')], "Software/Devices") + 'device' : fields.selection([('other', 'Other'), ('iphone', 'iPhone'), ('android', 'Android based device'),('thunderbird', 'Sunbird/Thunderbird'), ('evolution','Evolution')], "Software/Devices"), + 'doc_link':fields.char('Caldav Documentation', size="264", help="The link to Caldav Online Documentation.", readonly=True), } def _get_default_calendar(self, cr, uid, context): @@ -260,7 +261,8 @@ class user_preference(osv.osv_memory): 'service': 'webdav', 'collection' : _get_default_collection, 'calendar' : _get_default_calendar, - 'device' : 'other' + 'device' : 'other', + 'doc_link' : 'http://doc.openerp.com/' } def open_window(self, cr, uid, ids, context=None): diff --git a/addons/caldav/wizard/caldav_browse_view.xml b/addons/caldav/wizard/caldav_browse_view.xml index dc3e53b0627..29a0675eea9 100644 --- a/addons/caldav/wizard/caldav_browse_view.xml +++ b/addons/caldav/wizard/caldav_browse_view.xml @@ -37,6 +37,7 @@ +