view_employee_form_leave_inherit_action

This commit is contained in:
blackbelts 2025-06-19 10:20:45 +03:00
parent 650124c868
commit c63622a241
1 changed files with 2 additions and 6 deletions

View File

@ -39,17 +39,13 @@
<record id="view_employee_form_leave_inherit_action" model="ir.ui.view">
<record id="view_employee_form_leave_inherit_actionn" model="ir.ui.view">
<field name="name">hr.employee.leave.form.inherit.custom</field>
<field name="model">hr.employee</field>
<field name="inherit_id" ref="hr_holidays_community.view_employee_form_leave_inherit"/>
<field name="arch" type="xml">
<!-- <xpath expr="//button[@name='%(hr_holidays_community.act_hr_employee_holiday_request)d']" position="attributes">-->
<!-- <attribute name="name">%(hr_holidays_public.leaves_balancee_action)d</attribute>-->
<!-- <attribute name="context">{'search_default_employee_id': active_id}</attribute>-->
<!-- </xpath>-->
<xpath expr="//button[child::field[@name='leaves_count']]" position="attributes">
<attribute name="name">%(hr_holidays_public.leaves_balancee_action)d</attribute>
<attribute name="name">%(hr_holidays_public.leaves_balance_action)d</attribute>
<attribute name="context">{'search_default_employee_id': active_id}</attribute>
</xpath>
</field>