Browse Source

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

pull/757/head
Romain Deheele 11 years ago
committed by dsolanki
parent
commit
c18f1485d2
  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