Browse Source

[9.0][account_financial_report_qweb] Remove ImportError.

Yet another violation of https://github.com/OCA/maintainer-quality-tools/pull/354.
pull/257/head
Jairo Llopis 8 years ago
parent
commit
5971cabc0e
  1. 25
      account_financial_report_qweb/report/__init__.py

25
account_financial_report_qweb/report/__init__.py

@ -4,12 +4,19 @@
# © 2016 Julien Coux (Camptocamp)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).-
from . import abstract_report_xlsx
from . import aged_partner_balance
from . import aged_partner_balance_xlsx
from . import general_ledger
from . import general_ledger_xlsx
from . import open_items
from . import open_items_xlsx
from . import trial_balance
from . import trial_balance_xlsx
import logging
_logger = logging.getLogger(__name__)
try:
from . import abstract_report_xlsx
from . import aged_partner_balance
from . import aged_partner_balance_xlsx
from . import general_ledger
from . import general_ledger_xlsx
from . import open_items
from . import open_items_xlsx
from . import trial_balance
from . import trial_balance_xlsx
except ImportError:
_logger.info("ImportError raised while loading module.")
_logger.debug("ImportError details:", exc_info=True)
ReportXlsx = object
Loading…
Cancel
Save