Skip to content

Commit

Permalink
TA#66297 [FIX] hr_employee_type : ttype accessibility group
Browse files Browse the repository at this point in the history
  • Loading branch information
lanto-razafindrabe committed Jun 7, 2024
1 parent 24ecef2 commit ef2a369
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hr_employee_type/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# © 2020 - today Numigi (tm) and all its contributors (https://bit.ly/numigiens)
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

from . import hr_employee_base
from . import hr_employee
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
from odoo import models, fields


class HrEmployeeBase(models.AbstractModel):
_inherit = "hr.employee.base"
class HrEmployeeType(models.Model):
_inherit = "hr.employee"
ttype = fields.Selection(
[("internal", "Internal"), ("external", "External")],
"Type",
default="internal",
groups="base.group_hr_user",
)

0 comments on commit ef2a369

Please sign in to comment.