mirror of
https://github.com/bringout/oca-hr.git
synced 2026-04-26 03:31:58 +02:00
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>
16 lines
466 B
Python
16 lines
466 B
Python
# Copyright 2017 Odoo S.A.
|
|
# Copyright 2018 ForgeFlow, S.L.
|
|
# License LGPL-3 - See http://www.gnu.org/licenses/lgpl-3.0.html
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class HrAttendance(models.Model):
|
|
_inherit = "hr.attendance"
|
|
|
|
attendance_reason_ids = fields.Many2many(
|
|
comodel_name="hr.attendance.reason",
|
|
string="Attendance Reason",
|
|
help="Specifies the reason for signing In/signing Out in case of "
|
|
"less or extra hours.",
|
|
)
|