odoo/ext/custom-addons/hr_holidays_legal_leave/models/res_company.py

15 lines
352 B
Python

# -*- coding: utf-8 -*-
# © 2015 iDT LABS (http://www.@idtlabs.sl)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp import models, fields
class ResCompany(models.Model):
_inherit = 'res.company'
legal_holidays_status_id = fields.Many2one(
'hr.holidays.status',
'Legal Leave Status',
)