# Copyright 2015 Savoir-faire Linux. All Rights Reserved.
# Copyright 2017 Serpent Consulting Services Pvt. Ltd.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from odoo import fields, models

from .hr_fiscal_year import get_schedules


class HrContract(models.Model):
    _inherit = "hr.contract"

    # Add semi-monthly to payroll schedules
    schedule_pay = fields.Selection(get_schedules, index=True)
