mirror of
https://github.com/bringout/oca-hr.git
synced 2026-04-23 16:52:08 +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>
10 lines
313 B
Python
10 lines
313 B
Python
# Copyright 2016-2019 Onestein (<http://www.onestein.eu>)
|
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
|
|
|
from odoo import SUPERUSER_ID
|
|
from odoo.api import Environment
|
|
|
|
|
|
def post_init_hook(cr, _):
|
|
env = Environment(cr, SUPERUSER_ID, {})
|
|
env["hr.employee"]._install_employee_firstname()
|