[REF] Account: cleaning

bzr revid: mra@mra-laptop-20101005042518-1uyc69u55bpyenmi
This commit is contained in:
Mustufa Rangwala 2010-10-05 09:55:18 +05:30
parent 2e3de2d694
commit 1bb8ea02bf
2 changed files with 11 additions and 10 deletions

View File

@ -2860,4 +2860,3 @@ class account_bank_accounts_wizard(osv.osv_memory):
account_bank_accounts_wizard()
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -21,19 +21,19 @@
##############################################################################
import time
from report import report_sxw
from tools import amount_to_text_en
class report_voucher_move(report_sxw.rml_parse):
def __init__(self, cr, uid, name, context):
super(report_voucher_move, self).__init__(cr, uid, name, context)
def __init__(self, cr, uid, name, context=None):
super(report_voucher_move, self).__init__(cr, uid, name, context=context)
self.localcontext.update({
'time': time,
'convert':self.convert,
'get_title': self.get_title,
'debit':self.debit,
'credit':self.credit,
#'get_ref' : self._get_ref
})
self.user=uid
@ -68,3 +68,5 @@ report_sxw.report_sxw(
'addons/account/report/voucher_print.rml',
parser=report_voucher_move,header="external"
)
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: