Browse Source

[FIX] crash if this branch is in addons path but report_xls is not available

pull/7/merge
unknown 11 years ago
parent
commit
8d637a5f80
  1. 7
      account_financial_report_webkit_xls/__init__.py
  2. 7
      account_move_line_report_xls/__init__.py

7
account_financial_report_webkit_xls/__init__.py

@ -21,4 +21,9 @@
##############################################################################
from . import wizard
from . import report
try:
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')

7
account_move_line_report_xls/__init__.py

@ -21,4 +21,9 @@
##############################################################################
from . import account_move_line
from . import report
try:
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