flectra/addons/hr_holidays/models/resource.py
2018-01-16 02:34:37 -08:00

13 lines
332 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
from flectra import fields, models
class CalendarLeaves(models.Model):
_inherit = "resource.calendar.leaves"
_description = "Leave Detail"
holiday_id = fields.Many2one("hr.holidays", string='Leave Request')