|
- # -*- coding: utf-8 -*-
-
-
- # from . import controllers
- from . import models
-
- # from . import wizard
- from odoo import api, SUPERUSER_ID, _
- from odoo.exceptions import UserError
-
-
- def post_init_hook(cr, registry):
- env = api.Environment(cr, SUPERUSER_ID, {})
- env["ir.http"].clear_caches()
- env["ir.ui.view"].clear_caches()
|