Move all OCA HR modules from oca-technical to dedicated oca-hr submodule

Reorganized 67 HR-related modules for better structure:
- Moved all odoo-bringout-oca-hr-* packages from packages/oca-technical/
- Now organized in dedicated packages/oca-hr/ submodule
- Includes attendance, expense, holiday, employee, and contract modules
- Maintains all module functionality while improving project organization

This creates a cleaner separation between general technical modules
and HR-specific functionality.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Ernad Husremovic 2025-08-30 17:11:28 +02:00
parent f672249949
commit dfcda4100c
2456 changed files with 120722 additions and 0 deletions

View file

@ -0,0 +1,4 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from . import hr_employee_language
from . import hr_employee

View file

@ -0,0 +1,15 @@
# Copyright (C) 2017-Today: Odoo Community Association (OCA)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from odoo import fields, models
class HrEmployee(models.Model):
_inherit = "hr.employee"
language_ids = fields.One2many(
"hr.employee.language",
"employee_id",
string="Languages",
help="Languages of this employee",
)

View file

@ -0,0 +1,17 @@
# Copyright (C) 2017-Today: Odoo Community Association (OCA)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from odoo import fields, models, tools
class HrEmployeeLanguage(models.Model):
_name = "hr.employee.language"
_description = "HR Employee Language"
name = fields.Selection(tools.scan_languages(), string="Language", required=True)
description = fields.Char()
employee_id = fields.Many2one("hr.employee", string="Employee", required=True)
can_read = fields.Boolean(string="Read", default=True)
can_write = fields.Boolean(string="Write", default=True)
can_speak = fields.Boolean(string="Speak", default=True)
can_listen = fields.Boolean(string="Listen", default=True)