Browse Source

[FIX] imports

pull/7/merge
Jacques-Etienne Baudoux 11 years ago
parent
commit
a80926d9c9
  1. 2
      account_financial_report_webkit/report/open_invoices.py
  2. 6
      account_financial_report_webkit/report/print_journal.py
  3. 4
      account_financial_report_webkit/report/webkit_parser_header_fix.py
  4. 5
      account_financial_report_webkit/wizard/print_journal.py
  5. 4
      account_financial_report_webkit/wizard/trial_balance_wizard.py

2
account_financial_report_webkit/report/open_invoices.py

@ -20,7 +20,6 @@
##############################################################################
from collections import defaultdict
from report import report_sxw
from datetime import datetime
from itertools import groupby
from operator import itemgetter
@ -30,6 +29,7 @@ from mako.template import Template
import openerp.addons
from openerp import pooler
from openerp.osv import osv
from openerp.report import report_sxw
from openerp.tools.translate import _
from openerp.addons.report_webkit import report_helper
from .common_partner_reports import CommonPartnersReportHeaderWebkit

6
account_financial_report_webkit/report/print_journal.py

@ -22,9 +22,9 @@
#
##############################################################################
from report import report_sxw
from tools.translate import _
import pooler
from openerp.report import report_sxw
from openerp.tools.translate import _
from openerp import pooler
from datetime import datetime
from common_reports import CommonReportHeaderWebkit

4
account_financial_report_webkit/report/webkit_parser_header_fix.py

@ -31,8 +31,6 @@ import os
import subprocess
import tempfile
import time
import pooler
import tools
import logging
@ -40,6 +38,8 @@ from mako import exceptions
from openerp.osv.osv import except_osv
from openerp.tools.translate import _
from openerp import addons
from openerp import pooler
from openerp import tools
from openerp.addons.report_webkit import webkit_report
from openerp.addons.report_webkit.webkit_report import mako_template
from openerp.addons.report_webkit.report_helper import WebKitHelper

5
account_financial_report_webkit/wizard/print_journal.py

@ -22,13 +22,12 @@
#
##############################################################################
from osv import osv
from osv import fields
from openerp.osv import fields, orm
import time
from lxml import etree
class AccountReportPrintJournalWizard(osv.osv_memory):
class AccountReportPrintJournalWizard(orm.TransientModel):
"""Will launch print journal report and pass requiered args"""
_inherit = "account.common.account.report"

4
account_financial_report_webkit/wizard/trial_balance_wizard.py

@ -19,10 +19,10 @@
#
##############################################################################
from osv import osv
from openerp.osv import orm
class AccountTrialBalanceWizard(osv.osv_memory):
class AccountTrialBalanceWizard(orm.TransientModel):
"""Will launch trial balance report and pass required args"""
_inherit = "account.common.balance.report"

Loading…
Cancel
Save