[IMP]hr_holidays:Improve leave tooltip for date

bzr revid: dbr@tinyerp.com-20120518114550-bo8dh6hbsh53wxii
This commit is contained in:
DBR (OpenERP) 2012-05-18 17:15:50 +05:30
parent d42c1b7fad
commit 38d3044665
1 changed files with 1 additions and 1 deletions

View File

@ -518,7 +518,7 @@
<xpath expr="//div[@class='oe_employee_details']/ul/li" position="before">
<li t-if="record.current_leave_id.raw_value || record.last_login.raw_value">
<span t-if="record.current_leave_id.raw_value" t-att-class="record.current_leave_state.raw_value=='validate'?'oe_kanban_color_3':'oe_kanban_color_2'">
<span class="oe_kanban_button" style="font-size: 100%%" t-att-title="record.date_to.raw_value" >
<span class="oe_kanban_button" style="font-size: 100%%" t-att-title="record.date_from.raw_value.toString('ddd dS MMM') + ' - ' + record.date_to.raw_value.toString('ddd dS MMM')" >
<field name="current_leave_id"/>
</span>
</span>