Skip to content

Commit

Permalink
Merge PR #155 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by nimarosa
  • Loading branch information
OCA-git-bot committed May 28, 2024
2 parents 3b8f445 + 6b4fb5b commit c07bb15
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions payroll/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"views/res_config_settings_views.xml",
"wizard/hr_payroll_send_email.xml",
"wizard/hr_payslip_change_state_view.xml",
"views/hr_leave_type.xml",
],
"demo": ["demo/hr_payroll_demo.xml"],
"application": True,
Expand Down
13 changes: 13 additions & 0 deletions payroll/views/hr_leave_type.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="hr_leave_type_view_form" model="ir.ui.view">
<field name="name">hr.leave.type.view.form.payroll</field>
<field name="model">hr.leave.type</field>
<field name="inherit_id" ref="hr_holidays.edit_holiday_status_form" />
<field name="arch" type="xml">
<xpath expr="//field[@name='time_type']" position="after">
<field name="code" />
</xpath>
</field>
</record>
</odoo>

0 comments on commit c07bb15

Please sign in to comment.