change leaves_balancee_action

This commit is contained in:
blackbelts 2025-06-18 18:25:38 +03:00
parent 1979098602
commit 6048d45792
1 changed files with 11 additions and 11 deletions

View File

@ -49,17 +49,17 @@
<record id="view_employee_form_leave_inherit_customm" 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="name">%(hr_holidays_public.leaves_balance_action)d</attribute>
</xpath>
</field>
</record>
<!-- <record id="view_employee_form_leave_inherit_customm" 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">-->
<!--&lt;!&ndash; <attribute name="name">%(hr_holidays_public.leaves_balancee_action)d</attribute>&ndash;&gt;-->
<!-- <attribute name="name">%(hr_holidays_public.leaves_balance_action)d</attribute>-->
<!-- </xpath>-->
<!-- </field>-->
<!-- </record>-->