Browse Source

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

pull/7/merge
unknown 11 years ago
committed by Guewen Baconnier
parent
commit
222cb74cf8
  1. 9
      account_financial_report_webkit_xls/__init__.py
  2. 12
      account_journal_report_xls/__init__.py
  3. 9
      account_move_line_report_xls/__init__.py

9
account_financial_report_webkit_xls/__init__.py

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

12
account_journal_report_xls/__init__.py

@ -20,8 +20,14 @@
#
##############################################################################
from . import account_journal
from . import wizard
from . import report
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')
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

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