diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 17:14:58 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 17:14:58 +0700 |
| commit | 1ca3b3df3421961caec3b747a364071c80f5c7da (patch) | |
| tree | 6778a1f0f3f9b4c6e26d6d87ccde16e24da6c9d6 /hr_payroll_community/views/hr_employee_views.xml | |
| parent | b57188be371d36d96caac4b8d65a40745c0e972c (diff) | |
initial commit
Diffstat (limited to 'hr_payroll_community/views/hr_employee_views.xml')
| -rw-r--r-- | hr_payroll_community/views/hr_employee_views.xml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/hr_payroll_community/views/hr_employee_views.xml b/hr_payroll_community/views/hr_employee_views.xml new file mode 100644 index 0000000..d3354be --- /dev/null +++ b/hr_payroll_community/views/hr_employee_views.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<odoo> + + <!-- Employee View --> + <record id="payroll_hr_employee_view_form" model="ir.ui.view"> + <field name="name">payroll.hr.employee.view.form</field> + <field name="model">hr.employee</field> + <field name="inherit_id" ref="hr.view_employee_form"/> + <field name="arch" type="xml"> + <xpath expr="//div[@name='button_box']" position="inside"> + <button name="%(act_hr_employee_payslip_list)d" + class="oe_stat_button" + icon="fa-credit-card" + type="action" + groups="hr_payroll_community.group_hr_payroll_community_user"> + <field name="payslip_count" widget="statinfo" string="Payslips"/> + </button> + </xpath> + </field> + </record> +</odoo>
\ No newline at end of file |
