diff --git a/account_financial_report_webkit_xls/__init__.py b/account_financial_report_webkit_xls/__init__.py index 49db08a9d845..bd6a58877ba7 100644 --- a/account_financial_report_webkit_xls/__init__.py +++ b/account_financial_report_webkit_xls/__init__.py @@ -20,10 +20,9 @@ # ############################################################################## +from . import wizard + try: - from . import wizard from . import report except ImportError: - import logging - logging.getLogger('openerp.module').warning('''report_xls not available in - addons path. account_financial_report_webkit_xls will not be usable''') + pass # this module is not installed, and tries to import report_xls diff --git a/account_journal_report_xls/__init__.py b/account_journal_report_xls/__init__.py index 6368e57dcd32..e6eb634ba8c5 100644 --- a/account_journal_report_xls/__init__.py +++ b/account_journal_report_xls/__init__.py @@ -20,11 +20,10 @@ # ############################################################################## +from . import account_journal +from . import wizard + try: - from . import account_journal - from . import wizard from . import report except ImportError: - import logging - logging.getLogger('openerp.module').warning('''report_xls not available in - addons path. account_financial_report_webkit_xls will not be usable''') + pass # this module is not installed, and tries to import report_xls diff --git a/account_move_line_report_xls/__init__.py b/account_move_line_report_xls/__init__.py index 0d4ee376f752..bca85422119a 100644 --- a/account_move_line_report_xls/__init__.py +++ b/account_move_line_report_xls/__init__.py @@ -20,11 +20,9 @@ # ############################################################################## +from . import account_move_line + try: - from . import account_move_line from . import report except ImportError: - import logging - logging.getLogger('openerp.module').\ - warning('''report_xls not available in addons path. - account_financial_report_webkit_xls will not be usable''') + pass # this module is not installed, and tries to import report_xls