Browse Source

[FIX] imports of account_journal_report_xls

pull/352/head
Holger Brunn 6 years ago
parent
commit
b6e6b6e545
No known key found for this signature in database GPG Key ID: 1C9760FECA3AE18
  1. 2
      account_journal_report_xls/__init__.py
  2. 4
      account_journal_report_xls/report/nov_account_journal_xls.py

2
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''')

4
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):

Loading…
Cancel
Save