添加功能
This commit is contained in:
@@ -5,6 +5,9 @@
|
||||
<field name="model">hr.leave.allocation</field>
|
||||
<field name="inherit_id" ref="hr_holidays.hr_leave_allocation_view_tree"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//tree" position="attributes">
|
||||
<attribute name="editable">bottom</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//tree/field[@name='duration_display']" position="attributes">
|
||||
<attribute name="string">假期余额</attribute>
|
||||
</xpath>
|
||||
@@ -32,9 +35,6 @@
|
||||
<field name="new_employee_holidays" invisible="holiday_type != 'employee'"/>
|
||||
<field name="holiday_month" invisible="new_employee_holidays != 'limit'"/>
|
||||
</xpath>
|
||||
<xpath expr="//div[@name='validity_label']" position="attributes">
|
||||
<attribute name="invisible">1</attribute>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user