oca-payroll/odoo-bringout-oca-payroll-hr_payroll_period/hr_payroll_period/models/hr_contract.py
2025-08-29 15:43:05 +02:00

14 lines
424 B
Python

# 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)