[FIX] clean some warnings.
authorVo Minh Thu <vmt@openerp.com>
Mon, 5 Dec 2011 15:55:10 +0000 (16:55 +0100)
committerVo Minh Thu <vmt@openerp.com>
Mon, 5 Dec 2011 15:55:10 +0000 (16:55 +0100)
bzr revid: vmt@openerp.com-20111205155510-many34fn09yr58x0

addons/hr_holidays/hr_holidays.py

index d22c5b9..746c276 100644 (file)
@@ -262,7 +262,7 @@ class hr_holidays(osv.osv):
                     'name': record.name,
                     'categ_id': record.holiday_status_id.categ_id.id,
                     'duration': record.number_of_days_temp * 8,
-                    'note': record.notes,
+                    'description': record.notes,
                     'user_id': record.user_id.id,
                     'date': record.date_from,
                     'end_date': record.date_to,