odex30_standard/exp_payroll_promotion/models/hr_holidays.py

16 lines
350 B
Python

# -*- coding: utf-8 -*-
from odoo import models, fields
class HrHolidaysStatus(models.Model):
_inherit = 'hr.holidays.status'
studying_leave = fields.Boolean('Studying Leave', default=False)
class HrHolidays(models.Model):
_inherit = 'hr.holidays'
successful_completion = fields.Boolean('Successful Completion', default=False)