diff --git a/odex25_hr/hr_holidays_community/views/hr_views.xml b/odex25_hr/hr_holidays_community/views/hr_views.xml index 612e3346b..d62b2a9c9 100644 --- a/odex25_hr/hr_holidays_community/views/hr_views.xml +++ b/odex25_hr/hr_holidays_community/views/hr_views.xml @@ -139,6 +139,7 @@ attrs="{'invisible': [('show_leaves','=', False)]}" groups="base.group_user" help="Remaining leaves"> + diff --git a/odex25_hr/hr_holidays_public/views/leaves_balance.xml b/odex25_hr/hr_holidays_public/views/leaves_balance.xml index 85ecbf474..8510517ae 100644 --- a/odex25_hr/hr_holidays_public/views/leaves_balance.xml +++ b/odex25_hr/hr_holidays_public/views/leaves_balance.xml @@ -10,37 +10,12 @@ - - - - - - - - - - - - - - - - - - - - - - - - - Leaves Balance hr.holidays tree,form - [('type','=','add'),('check_allocation_view','=','balance')] + [('type','=','add'),('check_allocation_view','=','balance')] {'default_type':'add', 'default_check_allocation_view': 'balance'} @@ -49,17 +24,43 @@ - - - - - + + + + + + + + + + + + + + + + + hr.employee.leave.form.inherit.custom + hr.employee + + - - + + - - + + %(hr_holidays_public.leaves_balancee_action)d + {'search_default_employee_id': active_id} + + + + + + + + + +