[IMP] Improved code for

Create a leave request for an employee:
    In right panel of calender view under the  user menu we can see the employee name.

bzr revid: psa@tinyerp.com-20121219085056-uaosi0k0z62puuct
This commit is contained in:
Paramjit Singh Sahota 2012-12-19 14:20:56 +05:30
parent 38c56a45f5
commit 6e1dc8cfd2
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@
<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">
<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>