You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
547 B

  1. # -*- coding: utf-8 -*-
  2. # Author: Damien Crier
  3. # Copyright 2016 Camptocamp SA
  4. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
  5. from . import models
  6. from . import wizard
  7. # Don't break installations that don't have this module installed
  8. have_report_xlsx = False
  9. try:
  10. from odoo.addons.report_xlsx.report.report_xlsx import ReportXlsx
  11. have_report_xlsx = True
  12. except ImportError:
  13. import logging
  14. logging.getLogger(__name__).warn('Module report_xlsx is not available')
  15. if have_report_xlsx:
  16. from . import report