Merge pull request #3535 from expsa/hr_traning_table
view_employee_form_leave_inherit_action
This commit is contained in:
commit
1210bacfda
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue