1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/hr_payroll/models/hr_contract_history.py
2024-12-10 09:04:09 +07:00

14 lines
549 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import api, fields, models
from collections import defaultdict
class ContractHistory(models.Model):
_inherit = 'hr.contract.history'
time_credit = fields.Boolean('Credit time', readonly=True, help='This is a credit time contract.')
work_time_rate = fields.Float(string='Work time rate', help='Work time rate versus full time working schedule.')
standard_calendar_id = fields.Many2one('resource.calendar', readonly=True)