[MIG] hr_payroll_timesheet: to Odoo 13.0 + [ADD] Overtime calculations

This commit is contained in:
Jared Kipe
2020-07-07 14:59:02 -07:00
parent e3371efb3e
commit b290fdb9b5
7 changed files with 193 additions and 117 deletions

View 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>