[IMP] rename class of common header and changes accordingly

bzr revid: mra@mra-laptop-20100714125418-ll7zr5oge13ap16o
This commit is contained in:
Mustufa Rangwala 2010-07-14 18:24:18 +05:30
parent f3c35ab3cd
commit 11d3e7b6bd
10 changed files with 19 additions and 19 deletions

View File

@ -24,9 +24,9 @@ import os, time
from report import report_sxw
import pooler
from tools.translate import _
from account_journal_common_default import account_journal_common_default
from common_report_header import common_report_header
class account_balance(report_sxw.rml_parse, account_journal_common_default):
class account_balance(report_sxw.rml_parse, common_report_header):
_name = 'report.account.account.balance'
def set_context(self, objects, data, ids, report_type=None):

View File

@ -22,12 +22,12 @@
import time
import pooler
from account_journal_common_default import account_journal_common_default
from common_report_header import common_report_header
from report import report_sxw
#
# Use period and Journal for selection or resources
#
class journal_print(report_sxw.rml_parse, account_journal_common_default):
class journal_print(report_sxw.rml_parse, common_report_header):
def __init__(self, cr, uid, name, context=None):
if context is None:

View File

@ -22,12 +22,12 @@
import time
from report import report_sxw
from account_journal_common_default import account_journal_common_default
from common_report_header import common_report_header
import pooler
#
# Use period and Journal for selection or resources
#
class journal_print(report_sxw.rml_parse, account_journal_common_default):
class journal_print(report_sxw.rml_parse, common_report_header):
def __init__(self, cr, uid, name, context=None):
if context is None:

View File

@ -21,7 +21,7 @@
import pooler
class account_journal_common_default(object):
class common_report_header(object):
def _sum_debit(self, period_id=False, journal_id=False):
if journal_id and isinstance(journal_id, int):

View File

@ -22,12 +22,12 @@
import time
import pooler
from account_journal_common_default import account_journal_common_default
from common_report_header import common_report_header
from report import report_sxw
#
# Use period and Journal for selection or resources
#
class journal_print(report_sxw.rml_parse, account_journal_common_default):
class journal_print(report_sxw.rml_parse, common_report_header):
def __init__(self, cr, uid, name, context=None):
if context is None:

View File

@ -29,11 +29,11 @@
import time
from report import report_sxw
from account_journal_common_default import account_journal_common_default
from common_report_header import common_report_header
import rml_parse
import pooler
class general_ledger(rml_parse.rml_parse, account_journal_common_default):
class general_ledger(rml_parse.rml_parse, common_report_header):
_name = 'report.account.general.ledger'
def set_context(self, objects, data, ids, report_type=None):

View File

@ -24,9 +24,9 @@ import datetime
import pooler
from report import report_sxw
from account_journal_common_default import account_journal_common_default
from common_report_header import common_report_header
class partner_balance(report_sxw.rml_parse, account_journal_common_default):
class partner_balance(report_sxw.rml_parse, common_report_header):
def __init__(self, cr, uid, name, context=None):
if context is None:
context = {}

View File

@ -25,9 +25,9 @@ import pooler
import rml_parse
from report import report_sxw
from account.report import report_pl
from account_journal_common_default import account_journal_common_default
from common_report_header import common_report_header
class report_balancesheet_horizontal(rml_parse.rml_parse, account_journal_common_default):
class report_balancesheet_horizontal(rml_parse.rml_parse, common_report_header):
def __init__(self, cr, uid, name, context=None):
super(report_balancesheet_horizontal, self).__init__(cr, uid, name, context=context)
self.obj_pl=report_pl.report_pl_account_horizontal(cr, uid, name, context=context)

View File

@ -24,9 +24,9 @@ import time
import pooler
import rml_parse
from report import report_sxw
from account_journal_common_default import account_journal_common_default
from common_report_header import common_report_header
class report_pl_account_horizontal(rml_parse.rml_parse, account_journal_common_default):
class report_pl_account_horizontal(rml_parse.rml_parse, common_report_header):
def __init__(self, cr, uid, name, context=None):
super(report_pl_account_horizontal, self).__init__(cr, uid, name, context=context)

View File

@ -26,9 +26,9 @@ import datetime
import pooler
import rml_parse
from report import report_sxw
from account_journal_common_default import account_journal_common_default
from common_report_header import common_report_header
class third_party_ledger(rml_parse.rml_parse, account_journal_common_default):
class third_party_ledger(rml_parse.rml_parse, common_report_header):
def __init__(self, cr, uid, name, context=None):
self.date_lst = []