diff options
| author | Harry (Open ERP) <hmo@tinyerp.com> | 2010-02-11 19:57:04 +0530 |
|---|---|---|
| committer | Harry (Open ERP) <hmo@tinyerp.com> | 2010-02-11 19:57:04 +0530 |
| commit | 71beda7a3f69690a2351cc4100b38d7c893f8da3 (patch) | |
| tree | 0648acdca153a0843975fafeb3e810c0694d22d1 /addons | |
| parent | 309a5205cba7275e71ddc601edf4c148006be0e9 (diff) | |
[FIX]crm_caldav: fix small problem
bzr revid: hmo@tinyerp.com-20100211142704-kozt6fslz6r42or1
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/crm_caldav/crm_caldav.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/crm_caldav/crm_caldav.py b/addons/crm_caldav/crm_caldav.py index a5269476254..a39088faeff 100644 --- a/addons/crm_caldav/crm_caldav.py +++ b/addons/crm_caldav/crm_caldav.py @@ -22,13 +22,14 @@ from osv import fields, osv from crm import crm from caldav import caldav +from base_calendar import base_calendar class crm_meeting(osv.osv): _inherit = 'crm.meeting' def export_cal(self, cr, uid, ids, context={}): - ids = map(lambda x: base_calendar_id2real_id(x), ids) + ids = map(lambda x: base_calendar.base_calendar_id2real_id(x), ids) event_data = self.read(cr, uid, ids) event_obj = self.pool.get('basic.calendar.event') ical = event_obj.export_cal(cr, uid, event_data, context={'model': self._name}) |
