@ -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
@ -22,9 +22,9 @@
#
from tools.translate import _
import pooler
from common_reports import CommonReportHeaderWebkit
@ -22,7 +22,6 @@
</head>
<body>
<% import addons %>
<% template1 = helper.get_mako_template('account_financial_report_webkit','report', 'templates', 'open_invoices_inclusion.mako.html') %>
<% context.lookup.put_template('open_invoices_inclusion.mako.html', template1) %>
<% template2 = helper.get_mako_template('account_financial_report_webkit','report', 'templates', 'grouped_by_curr_open_invoices_inclusion.mako.html') %>
@ -74,7 +73,7 @@
</div>
%for acc in objects:
%if hasattr(acc, 'grouped_ledger_lines'):
%if 'grouped_ledger_lines' in acc:
<% fl = formatLang %>
<%include file="grouped_by_curr_open_invoices_inclusion.mako.html" args="account=acc,formatLang=fl"/>
%else:
@ -31,8 +31,6 @@ import os
import subprocess
import tempfile
import time
import tools
import logging
@ -40,6 +38,8 @@ from mako import exceptions
from openerp.osv.osv import except_osv
from openerp import addons
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
@ -22,13 +22,12 @@
from osv import osv
from osv import fields
from openerp.osv import fields, orm
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"
@ -19,10 +19,10 @@
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"