[FIX] hr_holidays: show request_date_from_period on leave form

When user apply half day leave in Leaves, the approver should be able to check
whether it's morning or afternoon on the approval page.

closes odoo/odoo#48429

X-original-commit: 3d3de2bf991bf4a10566599d3bb9011e4c09d21f
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Signed-off-by: Alex Tuyls <alt-odoo@users.noreply.github.com>
This commit is contained in:
alt-odoo
2020-03-26 12:07:06 +00:00
parent ab7b3dd40d
commit db174730ba
+1 -1
View File
@@ -250,7 +250,7 @@
'readonly': [('state', 'not in', ('draft', 'confirm'))],
'invisible': ['|', ('request_unit_half', '=', True), ('request_unit_hours', '=', True)]
}"/>
<field name="request_date_from_period" class="oe_inline oe_edit_only"
<field name="request_date_from_period" class="oe_inline"
string="In"
options="{'horizontal': True}"
attrs="{