Skip to content

Commit

Permalink
Merge 892e482 into d8f17d7
Browse files Browse the repository at this point in the history
  • Loading branch information
lepistone committed Aug 31, 2015
2 parents d8f17d7 + 892e482 commit a6a8098
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 14 deletions.
7 changes: 3 additions & 4 deletions account_financial_report_webkit_xls/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@
#
##############################################################################

from . import wizard

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''')
pass # this module is not installed, and tries to import report_xls
9 changes: 4 additions & 5 deletions account_journal_report_xls/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,10 @@
#
##############################################################################

from . import account_journal
from . import wizard

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''')
pass # this module is not installed, and tries to import report_xls
8 changes: 3 additions & 5 deletions account_move_line_report_xls/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@
#
##############################################################################

from . import account_move_line

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''')
pass # this module is not installed, and tries to import report_xls

0 comments on commit a6a8098

Please sign in to comment.