769eafb483
Flectra is Forked from Odoo v11 commit : (6135e82d73
)
14 lines
362 B
Python
14 lines
362 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import ir
|
|
from . import module
|
|
from . import res
|
|
|
|
def post_init(cr, registry):
|
|
"""Rewrite ICP's to force groups"""
|
|
from odoo import api, SUPERUSER_ID
|
|
|
|
env = api.Environment(cr, SUPERUSER_ID, {})
|
|
env['ir.config_parameter'].init(force=True)
|