From b6e6b6e5450e4802db2b76003c7351d3a7eb5ef3 Mon Sep 17 00:00:00 2001 From: Holger Brunn Date: Tue, 20 Feb 2018 07:55:56 +0100 Subject: [PATCH] [FIX] imports of account_journal_report_xls --- account_journal_report_xls/__init__.py | 2 +- account_journal_report_xls/report/nov_account_journal_xls.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/account_journal_report_xls/__init__.py b/account_journal_report_xls/__init__.py index 6368e57d..c477732d 100644 --- a/account_journal_report_xls/__init__.py +++ b/account_journal_report_xls/__init__.py @@ -27,4 +27,4 @@ try: 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''') + addons path. account_journal_report_xls will not be usable''') diff --git a/account_journal_report_xls/report/nov_account_journal_xls.py b/account_journal_report_xls/report/nov_account_journal_xls.py index c816ca76..e966e03f 100644 --- a/account_journal_report_xls/report/nov_account_journal_xls.py +++ b/account_journal_report_xls/report/nov_account_journal_xls.py @@ -6,14 +6,14 @@ import xlwt from datetime import datetime from openerp.addons.report_xls.report_xls import report_xls from openerp.addons.report_xls.utils import rowcol_to_cell, _render -from .nov_account_journal import nov_journal_print +from .nov_account_journal import NovJournalPrint from openerp.tools.translate import _ from openerp.exceptions import except_orm import logging _logger = logging.getLogger(__name__) -class AccountJournalXlsParser(nov_journal_print): +class AccountJournalXlsParser(NovJournalPrint): # pylint: disable=old-api7-method-defined def __init__(self, cr, uid, name, context):