Browse Source

[FIX] import error if report_xls is not available

pull/7/merge
unknown 11 years ago
committed by unknown
parent
commit
7e8e98ec3f
  1. 9
      account_move_line_report_xls/__init__.py

9
account_move_line_report_xls/__init__.py

@ -20,5 +20,10 @@
#
##############################################################################
from . import account_move_line
from . import report
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')
Loading…
Cancel
Save