mirror of
https://github.com/bringout/oca-workflow-process.git
synced 2026-04-19 12:52:04 +02:00
9 lines
308 B
Python
9 lines
308 B
Python
# Copyright 2017 - 2018 Modoolar <info@modoolar.com>
|
|
# License LGPLv3.0 or later (https://www.gnu.org/licenses/lgpl-3.0.en.html).
|
|
|
|
|
|
def post_init_hook(cr, registry):
|
|
from odoo import SUPERUSER_ID, api
|
|
|
|
env = api.Environment(cr, SUPERUSER_ID, {})
|
|
env["project.project"]._set_default_project_key()
|