mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[MIG] hr_payroll_timesheet: to Odoo 13.0 + [ADD] Overtime calculations
This commit is contained in:
16
hr_payroll_timesheet/data/hr_payroll_timesheet_data.xml
Normal file
16
hr_payroll_timesheet/data/hr_payroll_timesheet_data.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<!-- Work Entry Type -->
|
||||
<record id="work_input_timesheet_overtime" model="hr.work.entry.type">
|
||||
<field name="name">Timesheet Overtime</field>
|
||||
<field name="code">TS_OT</field>
|
||||
</record>
|
||||
<record id="work_input_timesheet" model="hr.work.entry.type">
|
||||
<field name="name">Timesheet</field>
|
||||
<field name="code">TS</field>
|
||||
<field name="overtime_type_id" ref="hr_payroll_overtime.work_entry_overtime_type"/>
|
||||
<field name="overtime_work_type_id" ref="work_input_timesheet_overtime"/>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user