Nimesh Contractor(Open ERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-1024627-nco into 
lp:openobject-addons.

Requested reviews:
  Atul Patel(OpenERP) (atp-openerp)
Related bugs:
  Bug #1024627 in OpenERP Addons: "[Trunk] Google calender not working properly"
  https://bugs.launchpad.net/openobject-addons/+bug/1024627

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1024627-nco/+merge/122798

Hello,

     Fix the issue of importing google calender.

Thanks,
 NCO.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1024627-nco/+merge/122798
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-1024627-nco.
=== modified file 'google_base_account/wizard/google_login.py'
--- google_base_account/wizard/google_login.py	2012-08-07 11:31:37 +0000
+++ google_base_account/wizard/google_login.py	2012-09-05 06:45:29 +0000
@@ -41,10 +41,10 @@
             gd_client = gdata.contacts.client.ContactsClient(source='OpenERP')
         if type == 'contact':
             gd_client = gdata.contacts.service.ContactsService()
+        if type =='docs_client':
+            gd_client = gdata.docs.client.DocsClient()
         if type == 'calendar':
             gd_client = gdata.calendar.service.CalendarService()
-        if type =='docs_client':
-            gd_client = gdata.docs.client.DocsClient()
         else:
             gd_client = gdata.contacts.service.ContactsService()
         try:

=== modified file 'import_google/wizard/import_google.py'
--- import_google/wizard/import_google.py	2012-07-06 12:43:14 +0000
+++ import_google/wizard/import_google.py	2012-09-05 06:45:29 +0000
@@ -255,7 +255,7 @@
                     'email_from': 'Email',
                     'date': 'DateStart',
                     'date_deadline': 'DateEnd',
-                    'categ_id/id': call(self.get_event_category, value('Category')),
+                    'categ_ids/id': call(self.get_event_category, value('Category')),
                     'recurrency': self.get_rec,
                     'end_date' : 'end_date',
                     'end_type' : 'end_type',

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to