__init__.py 452 B

123456789101112131415161718
  1. # -*- coding: utf-8 -*-
  2. # Part of Odoo. See LICENSE file for full copyright and licensing details.
  3. # Updating mako environement in order to be able to use slug
  4. try:
  5. from odoo.tools.rendering_tools import template_env_globals
  6. from odoo.addons.http_routing.models.ir_http import slug
  7. template_env_globals.update({
  8. 'slug': slug
  9. })
  10. except ImportError:
  11. pass
  12. from . import controllers
  13. from . import models
  14. from . import wizard