10 lines
291 B
Python
10 lines
291 B
Python
# -*- coding: utf-8 -*-
|
|
# © 2016 Therp BV <http://therp.nl>
|
|
# License AGPL-3.0 or later (http://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'].generate_account_key()
|