diff --git a/addons/base_calendar/base_calendar.py b/addons/base_calendar/base_calendar.py index 62ffc7c39d8..17202c3ba83 100644 --- a/addons/base_calendar/base_calendar.py +++ b/addons/base_calendar/base_calendar.py @@ -1173,7 +1173,10 @@ class virtual_report_spool(web_services.report_spool): new_ids = [] for id in ids: new_ids.append(base_calendar_id2real_id(id)) - datas['id'] = base_calendar_id2real_id(datas['id']) + if datas is None: + datas = {} + if datas.get('id',False): + datas['id'] = base_calendar_id2real_id(datas['id']) return super(virtual_report_spool, self).exp_report(db, uid, object, new_ids, datas, context) virtual_report_spool() diff --git a/addons/caldav/caldav_fs.py b/addons/caldav/caldav_fs.py index 28424acedf8..40f0f56b45e 100644 --- a/addons/caldav/caldav_fs.py +++ b/addons/caldav/caldav_fs.py @@ -38,7 +38,6 @@ from DAV.iface import * import urllib from DAV.davcmd import copyone, copytree, moveone, movetree, delone, deltree -from document.nodes import node_res_dir, node_res_obj from caldav_cache import memoize from tools import misc CACHE_SIZE=20000 diff --git a/addons/hr/hr_view.xml b/addons/hr/hr_view.xml index f98150f815b..f8b7c58985c 100644 --- a/addons/hr/hr_view.xml +++ b/addons/hr/hr_view.xml @@ -113,6 +113,8 @@ + + diff --git a/addons/hr_attendance/hr_attendance_view.xml b/addons/hr_attendance/hr_attendance_view.xml index 0c25e6eb34f..a97987dd89e 100644 --- a/addons/hr_attendance/hr_attendance_view.xml +++ b/addons/hr_attendance/hr_attendance_view.xml @@ -112,9 +112,11 @@ +