You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

36 lines
1.4 KiB

<odoo>
<data>
<record model="ir.ui.view" id="view_employee_form_inherits">
<field name="name">view.employee.form</field>
<field name="model">hr.employee.public</field>
<field name="inherit_id" ref="hr.hr_employee_public_view_form"/>
<field name="arch" type="xml">
<div name="button_box" position="inside">
<button name="action_to_open_late_check_in_records"
type="object"
class="oe_stat_button"
icon="fa-clock-o">
<field name="late_check_in_count" widget="statinfo" string="Late Check-In"/>
</button>
</div>
</field>
</record>
<record model="ir.ui.view" id="view_employee_form_inherits_late">
<field name="name">view.employee.form</field>
<field name="model">hr.employee</field>
<field name="inherit_id" ref="hr.view_employee_form"/>
<field name="arch" type="xml">
<div name="button_box" position="inside">
<button name="action_to_open_late_check_in_records"
type="object"
class="oe_stat_button"
icon="fa-clock-o">
<field name="late_check_in_count" widget="statinfo" string="Late Check-In"/>
</button>
</div>
</field>
</record>
</data>
</odoo>