__init__.py 289 B

12345678910111213
  1. # Part of Odoo. See LICENSE file for full copyright and licensing details.
  2. from . import controllers
  3. from . import models
  4. from odoo.http import request
  5. def _post_init_hook(cr, registry):
  6. if request:
  7. request.is_frontend = False
  8. request.is_frontend_multilang = False