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.
40 lines
1.7 KiB
40 lines
1.7 KiB
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<odoo>
|
|
<!-- Inheriting hr employee form view to add history buttons-->
|
|
<record id="view_employee_form" model="ir.ui.view">
|
|
<field name="name">hr.employee.view.form.inherit.ent.history.employee
|
|
</field>
|
|
<field name="model">hr.employee</field>
|
|
<field name="inherit_id" ref="hr.view_employee_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//page[@name='hr_settings']" position="after">
|
|
<page name="history" string="Employee History">
|
|
<group>
|
|
<group>
|
|
<button type="object" name="action_department_details"
|
|
class="oe_highlight">Job/Department History
|
|
</button>
|
|
</group>
|
|
<group>
|
|
<button type="object" name="action_salary_history"
|
|
class="oe_highlight">Salary History
|
|
</button>
|
|
</group>
|
|
</group>
|
|
<group>
|
|
<group>
|
|
<button type="object" name="action_contract_history"
|
|
class="oe_highlight">Contract History
|
|
</button>
|
|
</group>
|
|
<group>
|
|
<button type="object" name="action_time_sheet"
|
|
class="oe_highlight">Timesheet Cost
|
|
</button>
|
|
</group>
|
|
</group>
|
|
</page>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|
|
|