[FIX] hr: display the employee instead of the user in the calendar view

bzr revid: qdp-launchpad@openerp.com-20130531121351-iirl3ukuojphy21z
This commit is contained in:
Quentin (OpenERP)
2013-05-31 14:13:51 +02:00
+2 -2
View 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>