[FIX] hr_holidays: use display_name instead of name

In order to see the remaining days in the tree view we need to use
display_name instead of name, as display name will use the name_get
which is overriden to add this information.

closes odoo/odoo#28981
This commit is contained in:
RomainLibert
2018-11-23 10:52:42 +00:00
parent 5fd5c4095b
commit 1111de6eb2
@@ -95,7 +95,7 @@
<field name="arch" type="xml">
<tree string="Leave Type">
<field name="sequence" widget="handle"/>
<field name="name"/>
<field name="display_name"/>
<field name="allocation_type"/>
<field name="validation_type"/>
<field name="validity_start"/>