Merge pull request #3535 from expsa/hr_traning_table

view_employee_form_leave_inherit_action
This commit is contained in:
eslamtalaat744 2025-06-19 10:21:23 +03:00 committed by GitHub
commit 1210bacfda
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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>