8 lines
182 B
Python
8 lines
182 B
Python
from odoo import fields, models
|
|
|
|
|
|
class HrEmployee(models.Model):
|
|
_inherit = 'hr.employee'
|
|
|
|
leave_ids = fields.One2many('hr.leave', 'employee_id', groups="hr.group_hr_user")
|