mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-23 10:32:07 +02:00
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()
|