mirror of
https://github.com/bringout/oca-ocb-hr.git
synced 2026-04-26 15:12:00 +02:00
19.0 vanilla
This commit is contained in:
parent
a1137a1456
commit
e1d89e11e3
2789 changed files with 1093187 additions and 605897 deletions
|
|
@ -1,19 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data noupdate="1">
|
||||
<record id="holiday_status_extra_hours" model="hr.leave.type">
|
||||
<field name="name">Extra Hours</field>
|
||||
<field name="request_unit">hour</field>
|
||||
<field name="requires_allocation">no</field>
|
||||
<field name="leave_validation_type">manager</field>
|
||||
<record id="hr_holidays.holiday_status_extra_hours" model="hr.leave.type">
|
||||
<field name="overtime_deductible" eval="True"/>
|
||||
<field name="active" eval="False"/>
|
||||
<field name="company_id" eval="False"/>
|
||||
<field name="icon_id" ref="hr_holidays.icon_9"/>
|
||||
<field name="sequence">5</field>
|
||||
</record>
|
||||
|
||||
<!-- The record above should be archived if no company has overtime counting enabled, otherwise enabled -->
|
||||
<function model="res.company" name="_check_extra_hours_time_off"/>
|
||||
</data>
|
||||
</odoo>
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data noupdate="1">
|
||||
<record id="base.main_company" model="res.company">
|
||||
<field name="hr_attendance_overtime" eval="True" />
|
||||
<field name="overtime_start_date" eval="(DateTime.today() + relativedelta(months=-1)).date()" />
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue