Skip to content

Commit

Permalink
journal report: silence warning
Browse files Browse the repository at this point in the history
  • Loading branch information
lepistone committed Aug 31, 2015
1 parent 1e851dd commit 892e482
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions account_journal_report_xls/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 892e482

Please sign in to comment.