mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
Merge pull request #67 from Tecnativa/8.0-report_xls-protected_import
[FIX][report_xls] Add a variable when import fails.
This commit is contained in:
@@ -52,6 +52,7 @@ try:
|
||||
except ImportError: # pragma: no cover
|
||||
_logger.debug("Cannot import xlwt. This module will not be functional.")
|
||||
xls_types = xls_types_default
|
||||
default_style = None
|
||||
|
||||
|
||||
class AttrDict(dict):
|
||||
|
||||
Reference in New Issue
Block a user