Files
enterprise-addons/l10n_be_hr_payroll_group_s/models/hr_employee.py
T

8 lines
221 B
Python

from odoo import fields, models
class HrEmployee(models.Model):
_inherit = 'hr.employee'
group_s_code = fields.Char(readonly=False, related="version_id.group_s_code", groups="hr_payroll.group_hr_payroll_user")