[hr_hlidays] : Calender view display False value if no user_id
authorDhruti Shastri (OpenERP) <dhs@tinyerp.com>
Fri, 31 May 2013 12:04:53 +0000 (17:34 +0530)
committerDhruti Shastri (OpenERP) <dhs@tinyerp.com>
Fri, 31 May 2013 12:04:53 +0000 (17:34 +0530)
bzr revid: dhs@tinyerp.com-20130531120453-56m4n4h4bxrca2x5

addons/hr_holidays/hr_holidays_view.xml

index f8b4ad0..41dd39d 100644 (file)
@@ -40,8 +40,8 @@
             <field name="name">Leave Request</field>
             <field name="model">hr.holidays</field>
             <field name="arch" type="xml">
-                <calendar string="Leave Request" color="user_id" date_start="date_from" date_stop="date_to">
-                    <field name="user_id"/>
+                <calendar string="Leave Request" color="employee_id" date_start="date_from" date_stop="date_to">
+                    <field name="employee_id"/>
                     <field name="holiday_status_id"/>
                 </calendar>
             </field>