Files
enterprise-addons/timesheet_grid/models/hr_employee_public.py
T

11 lines
348 B
Python

# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class HrEmployeePublic(models.Model):
_inherit = 'hr.employee.public'
timesheet_manager_id = fields.Many2one('res.users', string='Timesheet',
help="User responsible of timesheet validation. Should be Timesheet Manager.")