oca-technical/odoo-bringout-oca-server-tools-letsencrypt/letsencrypt/hooks.py
2025-08-29 15:43:03 +02:00

8 lines
283 B
Python

# Copyright 2016-2020 Therp BV <https://therp.nl>.
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from odoo import SUPERUSER_ID, api
def post_init_hook(cr, pool):
env = api.Environment(cr, SUPERUSER_ID, {})
env["letsencrypt"]._get_key("account.key")