Browse Source

[FIX] add fix to avoid crash if report_xls in not available

pull/7/merge
Romain Deheele 11 years ago
parent
commit
74a4054695
  1. 5
      account_move_line_report_xls/__init__.py

5
account_move_line_report_xls/__init__.py

@ -20,5 +20,10 @@
# #
############################################################################## ##############################################################################
try:
from . import account_move_line from . import account_move_line
from . import report 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