@@ -23,10 +23,15 @@
|
||||
<field name="name">yuthon.holiday.allocation.form</field>
|
||||
<field name="model">hr.leave.allocation</field>
|
||||
<field name="inherit_id" ref="hr_holidays.hr_leave_allocation_view_form_manager"/>
|
||||
<field name="priority" eval="100"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//form" position="attributes">
|
||||
<attribute name="create">0</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//button[@name='action_refuse']" position="after">
|
||||
<button string="同步考勤数据" name="update_vacation" type="object"
|
||||
class="btn btn-secondary ml-2"/>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='employee_ids']" position="before">
|
||||
<field name="new_employee_holidays" invisible="holiday_type != 'employee'"/>
|
||||
<field name="holiday_month" invisible="new_employee_holidays != 'limit'"/>
|
||||
@@ -37,6 +42,7 @@
|
||||
<field name="name">yuthon.holiday.allocation.form2</field>
|
||||
<field name="model">hr.leave.allocation</field>
|
||||
<field name="inherit_id" ref="hr_holidays.hr_leave_allocation_view_form"/>
|
||||
<field name="priority" eval="100"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//form" position="attributes">
|
||||
<attribute name="create">0</attribute>
|
||||
|
||||
Reference in New Issue
Block a user