addons/hr_holidays_attendance/models/hr_attendance_overtime.py
raw| 1 | # Part of Odoo. See LICENSE file for full copyright and licensing details. |
| 2 | |
| 3 | from odoo import models, fields |
| 4 | |
| 5 | |
| 6 | class HrAttendanceOvertimeLine(models.Model): |
| 7 | _name = 'hr.attendance.overtime.line' |
| 8 | _inherit = 'hr.attendance.overtime.line' |
| 9 | |
| 10 | compensable_as_leave = fields.Boolean("Compensable as Time Off") |