[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:
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user